Browse Source

backup of install-config.yaml

main
Nicolas Massé 5 years ago
parent
commit
ed65d5fa22
  1. 5
      clusterctl

5
clusterctl

@ -46,6 +46,11 @@ function apply () {
exit 1 exit 1
fi fi
# Make a backup since the openshift-install command will consume it
if [ -f "$cluster_name/install-config.yaml" ]; then
cp "$cluster_name/install-config.yaml" "$cluster_name/install-config.yaml.bak"
fi
# Create installation files # Create installation files
openshift-install create manifests --dir="$cluster_name" openshift-install create manifests --dir="$cluster_name"
openshift-install create ignition-configs --dir="$cluster_name" openshift-install create ignition-configs --dir="$cluster_name"

Loading…
Cancel
Save