1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +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 738cfefdbd
commit 75f8c5c4ff

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 {