:
This commit is contained in:
parent
a02ad11553
commit
4d397012a4
@ -1,5 +1,5 @@
|
||||
rancher:
|
||||
root_password: rancher
|
||||
ram: 4096
|
||||
ram: 6144
|
||||
vcpus: 2
|
||||
bootstrapPassword: rancher
|
||||
|
@ -253,6 +253,7 @@ function install_rancher_vm(){
|
||||
if [[ -f $HOME/rancherVM.yaml ]]; then
|
||||
echo "rancher butane file already exists"
|
||||
else
|
||||
echo "creating the butane file"
|
||||
SSH_PUB_KEYS=""
|
||||
for i in "${SALT_ssh_user_pub_keys[@]}"; do
|
||||
if [[ "$i" != "[]" ]];then
|
||||
@ -367,6 +368,7 @@ EOF
|
||||
if [[ -f $HOME/rancherVM.ign ]];then
|
||||
echo "rancher ignition file already exists"
|
||||
else
|
||||
echo "creating the ignition file"
|
||||
sudo podman run -i --rm quay.io/coreos/fcct:release --pretty --strict < $HOME/rancherVM.yaml > $HOME/rancherVM.ign
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user