mirror of
https://github.com/rancher/os.git
synced 2025-08-31 22:32:14 +00:00
Use the partial cfg for the initial network
and release the network device from dhcp if we're not using it Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -354,7 +354,7 @@ func mountBootIso() error {
|
||||
|
||||
os.MkdirAll("/bootiso", 0755)
|
||||
cmd := exec.Command("mount", "-t", deviceType, deviceName, "/bootiso")
|
||||
log.Infof("mount (%#v)", cmd)
|
||||
log.Debugf("mount (%#v)", cmd)
|
||||
|
||||
cmd.Stdout, cmd.Stderr = os.Stdout, os.Stderr
|
||||
err = cmd.Run()
|
||||
|
Reference in New Issue
Block a user