mirror of
https://github.com/rancher/os.git
synced 2025-09-11 03:31:04 +00:00
@@ -411,7 +411,7 @@ func layDownOS(image, installType, cloudConfig, device, partition, statedir, kap
|
|||||||
bootDir := "boot/"
|
bootDir := "boot/"
|
||||||
kernelArgs := "printk.devkmsg=on rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait" // console="+CONSOLE
|
kernelArgs := "printk.devkmsg=on rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait" // console="+CONSOLE
|
||||||
if statedir != "" {
|
if statedir != "" {
|
||||||
kernelArgs = kernelArgs + " rancher.state.directory="+statedir
|
kernelArgs = kernelArgs + " rancher.state.directory=" + statedir
|
||||||
}
|
}
|
||||||
|
|
||||||
// unmount on trap
|
// unmount on trap
|
||||||
|
Reference in New Issue
Block a user