Skip to content

Commit

Permalink
Revert "MGMT-4966 Map the /run/media/iso directory to the next_step a…
Browse files Browse the repository at this point in the history
…gent component (#1685)"

This reverts commit 70855d4.
  • Loading branch information
Michael Levy authored and YuviGold committed May 10, 2021
1 parent a652d78 commit f5959dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/host/hostcommands/next_step_runner_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ func GetNextStepRunnerCommand(config *NextStepRunnerConfig) (string, *[]string)
arguments := []string{"run", "--rm", "-ti", "--privileged", "--pid=host", "--net=host",
"-v", "/dev:/dev:rw", "-v", "/opt:/opt:rw",
"-v", "/run/systemd/journal/socket:/run/systemd/journal/socket",
"-v", "/var/log:/var/log:rw",
"-v", "/run/media/iso:/run/media/iso:ro"}
"-v", "/var/log:/var/log:rw"}

if config.UseCustomCACert {
arguments = append(arguments, "-v", fmt.Sprintf("%s:%s", common.HostCACertPath, common.HostCACertPath))
Expand Down

0 comments on commit f5959dd

Please sign in to comment.