fix set raw.dnsmasq breaks nftables

This commit is contained in:
pvincent
2024-10-10 12:46:32 +04:00
parent 8a65146071
commit fd86ed4837
12 changed files with 31 additions and 50 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ EOF
echo -n "building template for sshd_config..."
USERS=${previous_users[*]} tera -e --env-key env -t "$MIAOU_BASEDIR/templates/dev-container-ssh/sshd_config.j2" -o "/tmp/sshd_config" "$MIAOU_CONFIGDIR/miaou.expanded.yaml" >/dev/null
echo 'OK'
echo -n "copying sshd_config over container <$CONTAINER> ... "
echo -n "copying sshd_config to container <$CONTAINER> ... "
lxc file push --uid 0 --gid 0 "/tmp/sshd_config" "$CONTAINER/etc/ssh/sshd_config" &>/dev/null
echo 'OK'
lxc exec "$CONTAINER" -- systemctl reload sshd.service