mirror of
https://github.com/rancher/os.git
synced 2025-09-01 23:04:41 +00:00
Add noformat and RAID installer types
This commit is contained in:
@@ -115,8 +115,8 @@ func runInstall(image, installType, cloudConfig, device, append string, force, r
|
||||
return err
|
||||
}
|
||||
}
|
||||
cmd := exec.Command("system-docker", "run", "--net=host", "--privileged", "--volumes-from=user-volumes", image,
|
||||
"-d", device, "-t", installType, "-c", cloudConfig, "-a", append)
|
||||
cmd := exec.Command("system-docker", "run", "--net=host", "--privileged", "--volumes-from=user-volumes",
|
||||
"--volumes-from=command-volumes", image, "-d", device, "-t", installType, "-c", cloudConfig, "-a", append)
|
||||
cmd.Stdout, cmd.Stderr = os.Stdout, os.Stderr
|
||||
if err := cmd.Run(); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user