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:
parent
28a845d586
commit
f6ecdc348a
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user