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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user