From f6ecdc348a28f6c4584bab8ef2d7e4b49740694d Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Jan 20 2017 01:57:24 +0000 Subject: 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 --- diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks index da6900c..883f523 100644 --- a/fedora-cloud-base.ks +++ b/fedora-cloud-base.ks @@ -24,7 +24,7 @@ # 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 keyboard us timezone --utc Etc/UTC diff --git a/fedora-docker-base.ks b/fedora-docker-base.ks index 750bdba..8c0a117 100644 --- a/fedora-docker-base.ks +++ b/fedora-docker-base.ks @@ -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 # -cmdline +text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931 bootloader --disabled timezone --isUtc --nontp Etc/UTC rootpw --lock --iscrypted locked