Changes between Version 13 and Version 14 of linux/debootstrap-install
- Timestamp:
- 2020-06-16T07:38:25Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/debootstrap-install
v13 v14 51 51 GRUB_CMDLINE_LINUX_DEFAULT="\${GRUB_CMDLINE_LINUX_DEFAULT} net.ifnames=0" 52 52 EOF 53 53 cat <<EOF > /mnt/etc/systemd/network/generic.network 54 [Match] 55 Name=* 56 [Network] 57 DHCP=yes 58 EOF 54 59 cat <<EOF >/mnt/etc/apt/sources.list 55 60 deb http://mirror.corbina.net/debian/ buster main non-free contrib … … 62 67 deb-src http://mirror.corbina.net/debian/ buster-backports main contrib non-free 63 68 EOF 64 65 69 echo 'en_US.UTF-8 UTF-8' > /mnt/etc/locale.gen 66 70 chroot /mnt locale-gen … … 71 75 for d in dev sys proc; do mount -o bind /${d} /mnt/${d}; done 72 76 chroot /mnt update-grub2 73 74 77 chroot /mnt grub-install --boot-directory=/boot /dev/sda 75 78 chroot /mnt systemctl disable networking 76 79 chroot /mnt systemctl enable systemd-networkd 77 80 chroot /mnt usermod -p '' root 78 79 81 umount /mnt/proc 80 82 chroot /mnt apt-get -y install lvm2