File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ domain_name=$cluster_name.lab
77
88api_ip=${API_IP:- 192.168.124.250}
99virtual_router_id=${VIRTUAL_ROUTER_ID:- 250}
10- HOME=" /root"
1110
1211here=" $( dirname " $( readlink --canonicalize " ${BASH_SOURCE[0]} " ) " ) "
1312root=" $( readlink --canonicalize " $here /.." ) "
@@ -50,6 +49,7 @@ kcli delete network $cluster_name -y
5049function cleanup {
5150 kcli delete cluster $cluster_name -y
5251 kcli delete network $cluster_name -y
52+ sudo rm -f /etc/containers/registries.conf.d/003-${cluster_name} .conf
5353}
5454
5555if [ -z $SKIP_DELETE ]; then
@@ -154,7 +154,7 @@ insecure = true
154154\" golang\" = \" docker.io/library/golang\"
155155"
156156
157- cat << EOF > /etc/containers/registries.conf.d/003-${cluster_name} .conf
157+ sudo bash -c " cat << EOF > /etc/containers/registries.conf.d/003-${cluster_name} .conf
158158$insecure_registry
159159EOF
160160
You can’t perform that action at this time.
0 commit comments