1
0
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:
Josh Curl
2016-09-29 21:55:19 -07:00
parent 5987d713a4
commit 2fc1d3fa5f
3 changed files with 84 additions and 23 deletions

View File

@@ -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