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:
parent
73ff97e465
commit
73617b8a5a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user