1
0
mirror of https://github.com/rancher/os.git synced 2025-08-02 07:24:28 +00:00

pass on the statedir and partition parameters to the inner installer images

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit 2017-04-13 07:36:35 +00:00
parent 73ff97e465
commit 73617b8a5a

View File

@ -290,6 +290,12 @@ func runInstall(image, installType, cloudConfig, device, partition, statedir, ka
if debug {
installerCmd = append(installerCmd, "--debug")
}
if partition != "" {
installerCmd = append(installerCmd, "--partition", partition)
}
if statedir != "" {
installerCmd = append(installerCmd, "--statedir", statedir)
}
// TODO: mount at /mnt for shared mount?
if useIso {