-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to reboot after wipe is finished (--autoreboot) #225
Comments
Presumably if the pdf upload failed you would also want it to abort the auto reboot so you could still manually retrieve the reports. Are you using FTP to upload the pdfs? |
Reason I ask is that I'm currently working In that section of the code adding a kernel option to exclude the boot disc (if fat/16/32/exfat) from being wiped in a autonuke, so now would be a good time to add a --autoreboot option (if PDF transfers were successful). |
If the report upload failed, it would make sense to abort the auto reboot yes. We use lftp options to upload. See https://git.nuug.no/nuug-public/skolelinux-netboot/-/blob/master/roles/netboot/tasks/main.yml#L63 for the kernel options we pass. |
@kristianronningen The command |
Similar to the current
--autopoweroff
option to nwipe, I'd love to have an option such as--autoreboot
. We use netboot to prepare laptops (wipe + install). Our netboot default boot is the fully automated installation of an OS. In the same menu we have the ShredOS --autonuke option.Our goal is to manually select the correct wipe option during netboot, have the disk wiped, reports uploaded, and then an automatic reboot, causing the default OS install boot option to run right away.
The text was updated successfully, but these errors were encountered: