Changes between Version 13 and Version 14 of linux/debootstrap-install


Ignore:
Timestamp:
2020-06-16T07:38:25Z (4 years ago)
Author:
root
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • linux/debootstrap-install

    v13 v14  
    5151GRUB_CMDLINE_LINUX_DEFAULT="\${GRUB_CMDLINE_LINUX_DEFAULT} net.ifnames=0"
    5252EOF
    53 
     53cat <<EOF > /mnt/etc/systemd/network/generic.network
     54[Match]
     55Name=*
     56[Network]
     57DHCP=yes
     58EOF
    5459cat <<EOF >/mnt/etc/apt/sources.list
    5560deb http://mirror.corbina.net/debian/ buster main non-free contrib
     
    6267deb-src http://mirror.corbina.net/debian/ buster-backports main contrib non-free
    6368EOF
    64 
    6569echo 'en_US.UTF-8 UTF-8' > /mnt/etc/locale.gen
    6670chroot /mnt locale-gen
     
    7175for d in dev sys proc; do mount -o bind /${d} /mnt/${d}; done
    7276chroot /mnt update-grub2
    73 
    7477chroot /mnt grub-install --boot-directory=/boot /dev/sda
    7578chroot /mnt systemctl disable networking
    7679chroot /mnt systemctl enable systemd-networkd
    7780chroot /mnt usermod -p '' root
    78 
    7981umount /mnt/proc
    8082chroot /mnt apt-get -y install lvm2