This commit is contained in:
terem42
2023-10-06 15:31:06 +02:00
parent ac6009fa59
commit 4c66116e77

View File

@@ -638,6 +638,8 @@ CONF
chroot_execute "systemctl enable systemd-networkd.service" chroot_execute "systemctl enable systemd-networkd.service"
chroot_execute "systemctl enable systemd-resolved.service" chroot_execute "systemctl enable systemd-resolved.service"
allow-hotplug eno1
echo "======= preparing the jail for chroot ==========" echo "======= preparing the jail for chroot =========="
for virtual_fs_dir in proc sys dev; do for virtual_fs_dir in proc sys dev; do
mount --rbind "/$virtual_fs_dir" "$c_zfs_mount_dir/$virtual_fs_dir" mount --rbind "/$virtual_fs_dir" "$c_zfs_mount_dir/$virtual_fs_dir"
@@ -830,7 +832,7 @@ auto lo
iface lo inet loopback iface lo inet loopback
iface lo inet6 loopback iface lo inet6 loopback
auto eth0 allow-hotplug eth0
iface eth0 inet dhcp iface eth0 inet dhcp
iface eth0 inet6 dhcp iface eth0 inet6 dhcp
CONF CONF