Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Server is not automatically reboot after installation #15

Closed
ldevulder opened this issue Mar 1, 2022 · 4 comments
Closed

Server is not automatically reboot after installation #15

ldevulder opened this issue Mar 1, 2022 · 4 comments
Assignees
Labels
area/os2 bug Something isn't working

Comments

@ldevulder
Copy link

I generated a RancherOS iso with elemental-image-build from https://github.com/rancher-sandbox/os2-opensuse-image, then installed a VM with it.
Installation went fine but there was no automatic reboot at the end, and this should be the default behaviour.

@Itxaka
Copy link

Itxaka commented Mar 1, 2022

reboot on elemental seems to be correct: or at least the flag is set via the env var correctly:

$ ELEMENTAL_REBOOT=true bin/elemental --debug upgrade
INFO[2022-03-01T17:59:23+01:00] Elemental version version.BuildInfo{Version:"v0.0.13-2-gdd23b93", GitCommit:"dd23b9393e36fba4cb8d6f033f3888c67d9fbbd6", GoVersion:"go1.17.5"} 
DEBU[2022-03-01T17:59:23+01:00] Full config: &{RecoveryLabel:COS_RECOVERY PersistentLabel:COS_PERSISTENT StateLabel:COS_STATE OEMLabel:COS_OEM SystemLabel:COS_SYSTEM ActiveLabel:COS_ACTIVE PassiveLabel:COS_PASSIVE Target: Source: CloudInit: ForceEfi:false ForceGpt:false PartLayout: Tty: NoFormat:false Force:false Strict:false Iso: DockerImg: Cosign:false CosignPubKey: NoVerify:false CloudInitPaths: GrubDefEntry:cOs Reboot:true PowerOff:false ChannelUpgrades:false UpgradeImage: RecoveryImage: RecoveryUpgrade:false ImgSize:3072 Directory: ResetPersistent:false PartTable: BootFlag: GrubConf:/etc/cos/grub.cfg Logger:0xc0001c3260 Fs:0x1efe2b0 Mounter:0xc000536018 Runner:0x1efe2b0 Syscall:0x1efe2b0 CloudInitRunner:0xc0000200f0 Luet:<nil> Partitions:[] Images:map[] Client:0xc000020090} 

@Itxaka
Copy link

Itxaka commented Mar 1, 2022

umm, there is no flag for reboot passed from os2 that I can see in the code...

@ldevulder
Copy link
Author

ldevulder commented Mar 1, 2022

In the code of ros-installer I can see a power-off option, but nothing related to a reboot yes (it should be the default according to installation.md).

@Itxaka
Copy link

Itxaka commented Mar 10, 2022

@ldevulder closing it in here and tracking it on rancher/elemental#45 instead :)

@Itxaka Itxaka closed this as completed Mar 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/os2 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants