label-install: fix more typoes

This commit is contained in:
Jeff Mahoney 2024-05-09 16:09:37 -04:00
parent e73f1ed2cb
commit f83cd4eb6b

View File

@ -31,7 +31,7 @@ if test ! -e "/host/etc/radvd.conf"; then
}
prefix=`printf "fd%02x:%04x:%04x:0001::/64\n" $(($(random) % 256)) $(random) $(random)`
sed -e "s,prefix (fd.*/64),prefix $prefix," $ORIGIN/etc/radvd.conf > $HOST/etc/radvd.conf
sed -e "s,prefix fd.*/64,prefix $prefix," $ORIGIN/etc/radvd.conf > $HOST/etc/radvd.conf
echo "radvd-install: created /etc/radvd.conf with ULA prefix $prefix"
installed=true
@ -39,7 +39,7 @@ fi
if test ! -e "$QUADLET_DIR/$QUADLET_FILENAME"; then
mkdir -p "$QUADLET_DIR"
sed -e "s,%IMAGE%,%{IMAGE},g" "$ORIGIN/container/quadlet/${QUADLET_FILENAME}.in" \
sed -e "s,%IMAGE%,${IMAGE},g" "$ORIGIN/container/quadlet/${QUADLET_FILENAME}.in" \
> "$QUADLET_DIR/${QUADLET_FILENAME}"
echo "radvd-install: installed $QUADLET_FILENAME quadlet"
chroot "$HOST" systemctl daemon-reload