label-install: remove specfile % escaping

This commit is contained in:
Jeff Mahoney 2024-05-09 15:26:22 -04:00
parent fe90cba41e
commit aac6f9e653

View File

@ -30,7 +30,7 @@ if test ! -e "/host/etc/radvd.conf"; then
od -An -d -N2 /dev/urandom
}
prefix=`printf "fd%%02x:%%04x:%%04x:0001::/64\n" $(($(random) %% 256)) $(random) $(random)`
prefix=`printf "fd%02x:%04x:%04x:0001::/64\n" $(($(random) % 256)) $(random) $(random)`
sed -e "s,prefix (fd.*/64),prefix $prefix," $ORGIN/etc/radvd.conf > $HOST/etc/radvd.conf
echo "radvd-install: created /etc/radvd.conf with ULA prefix $prefix"