mirror of
https://github.com/rancher/os.git
synced 2025-08-15 05:26:21 +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:
parent
73ff97e465
commit
73617b8a5a
@ -290,6 +290,12 @@ func runInstall(image, installType, cloudConfig, device, partition, statedir, ka
|
|||||||
if debug {
|
if debug {
|
||||||
installerCmd = append(installerCmd, "--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?
|
// TODO: mount at /mnt for shared mount?
|
||||||
if useIso {
|
if useIso {
|
||||||
|
Loading…
Reference in New Issue
Block a user