Run Initial Setup in reconfig mode on IoT images

Use the "firstboot --reconfig --enable" command[0] to tell
Initial Setup that it should run in the reconfig mode.

[0] http://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#firstboot
This commit is contained in:
Martin Kolman 2018-05-29 16:12:22 +02:00
parent 3721df6e5a
commit 5f1ff6c079

View File

@ -15,6 +15,9 @@ bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8 console=tty
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=NetworkManager,sshd,rngd,initial-setup
# tell Initial Setup to run in the reconfig mode
firstboot --reconfig --enable
zerombr
clearpart --all
autopart --nohome --noswap --type=plain