docker, cloud: don't use cmdline for install mode

cmdline makes it so that %post --erroronfail won't actually stop the
installation in a way that imagefactory will detect the problem and
fail the build. See [1] for more details.

[1] https://github.com/rhinstaller/anaconda/issues/931
This commit is contained in:
Dusty Mabe 2017-01-19 15:46:44 -05:00
parent 28a845d586
commit f6ecdc348a
No known key found for this signature in database
GPG Key ID: 3302DBD73952E671
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
# imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl # imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl
# #
cmdline text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
lang en_US.UTF-8 lang en_US.UTF-8
keyboard us keyboard us
timezone --utc Etc/UTC timezone --utc Etc/UTC

View File

@ -15,7 +15,7 @@
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-docker-base.ks docker # imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-docker-base.ks docker
# #
cmdline text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
bootloader --disabled bootloader --disabled
timezone --isUtc --nontp Etc/UTC timezone --isUtc --nontp Etc/UTC
rootpw --lock --iscrypted locked rootpw --lock --iscrypted locked