Skip to content

Commit 43b99d5

Browse files
committed
remove deploy-via-container settings
We are now deploying via container everywhere so we can drop all these options as they are no longer meaningful and won't cause any different behavior if they are set or not.
1 parent 5788468 commit 43b99d5

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/cmd-osbuild

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ generate_runvm_osbuild_config() {
183183
image_json=${workdir}/tmp/image.json
184184

185185
# Grab a few values from $image_json
186-
deploy_via_container=$(getconfig_def "deploy-via-container" "" "${image_json}")
187186
extra_kargs="$(python3 -c 'import sys, json; args = json.load(sys.stdin)["extra-kargs"]; print(" ".join(args))' < "${image_json}")"
188187

189188
# OStree container ociarchive file path
@@ -222,7 +221,6 @@ generate_runvm_osbuild_config() {
222221
artifact-name-prefix: "${name}-${build}"
223222
build-version: "${build}"
224223
container-imgref: "${container_imgref}"
225-
deploy-via-container: "${deploy_via_container}"
226224
osname: "${name}"
227225
ostree-container: "${ostree_container}"
228226
extra-kargs-string: "${extra_kargs}"

src/image-default.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ extra-kargs: []
1414
ostree-format: oci-chunked-v1
1515
# Inject io.openshift.build.version-display-names for OpenShift CVO
1616
ostree-container-inject-openshift-cvo-labels: false
17-
# True if we should use `ostree container image deploy`
18-
deploy-via-container: false
1917

2018
# Set this to a target container reference, e.g. ostree-unverified-registry:quay.io/example/os:latest
2119
# container-imgref: ""

src/runvm-osbuild

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ artifact_name_prefix=$(getconfig_def "artifact-name-prefix" "custom-coreos")
6363
build_version=$(getconfig_def "build-version" "0")
6464
ostree_container=$(getconfig "ostree-container")
6565
osname=$(getconfig "osname")
66-
deploy_via_container=$(getconfig_def "deploy-via-container" "")
6766
metal_image_size_mb=$(getconfig "metal-image-size")
6867
cloud_image_size_mb=$(getconfig "cloud-image-size")
6968
rootfs_size_mb=$(getconfig "rootfs-size")

0 commit comments

Comments
 (0)