mirror of
https://github.com/terem42/zfs-hetzner-vm.git
synced 2025-12-23 15:28:33 +00:00
update ifup
This commit is contained in:
@@ -818,8 +818,11 @@ CONF
|
|||||||
cat > "$c_zfs_mount_dir/etc/network/interfaces" <<'CONF'
|
cat > "$c_zfs_mount_dir/etc/network/interfaces" <<'CONF'
|
||||||
auto lo
|
auto lo
|
||||||
iface lo inet loopback
|
iface lo inet loopback
|
||||||
|
iface lo inet6 loopback
|
||||||
|
|
||||||
auto eth0
|
auto eth0
|
||||||
iface eth0 inet dhcp
|
iface eth0 inet dhcp
|
||||||
|
iface eth0 inet6 dhcp
|
||||||
CONF
|
CONF
|
||||||
|
|
||||||
chmod 755 "$c_zfs_mount_dir/etc/network/interfaces"
|
chmod 755 "$c_zfs_mount_dir/etc/network/interfaces"
|
||||||
|
|||||||
@@ -823,8 +823,11 @@ chmod 755 "$c_zfs_mount_dir/usr/share/initramfs-tools/scripts/init-premount/stat
|
|||||||
cat > "$c_zfs_mount_dir/etc/network/interfaces" <<'CONF'
|
cat > "$c_zfs_mount_dir/etc/network/interfaces" <<'CONF'
|
||||||
auto lo
|
auto lo
|
||||||
iface lo inet loopback
|
iface lo inet loopback
|
||||||
|
iface lo inet6 loopback
|
||||||
|
|
||||||
auto eth0
|
auto eth0
|
||||||
iface eth0 inet dhcp
|
iface eth0 inet dhcp
|
||||||
|
iface eth0 inet6 dhcp
|
||||||
CONF
|
CONF
|
||||||
|
|
||||||
chmod 755 "$c_zfs_mount_dir/etc/network/interfaces"
|
chmod 755 "$c_zfs_mount_dir/etc/network/interfaces"
|
||||||
|
|||||||
Reference in New Issue
Block a user