Changes between Version 6 and Version 7 of linux/debootstrap-install
- Timestamp:
- 2020-06-16T06:31:18Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/debootstrap-install
v6 v7 45 45 EOF 46 46 mkdir -vp /mnt/etc/network/interfaces.d/ /mnt/root/.ssh/ /mnt/etc/default/grub.d/ 47 cat <<EOF >/mnt/etc/network/interfaces48 source /etc/network/interfaces.d/*49 auto lo50 iface lo inet loopback51 auto eth052 iface eth0 inet static53 address 192.168.79.2354 netmask 2455 gateway 192.168.79.256 EOF57 cp -v ~/.ssh/authorized_keys /mnt/root/.ssh/58 47 echo xpsvic > /mnt/etc/hostname 59 48 cat <<EOF > /mnt/etc/default/grub.d/net-ifnames.cfg … … 75 64 echo 'en_US.UTF-8 UTF-8' > /mnt/etc/locale.gen 76 65 chroot /mnt locale-gen 77 78 66 chroot /mnt hostname -F /etc/hostname 79 67 export DEBIAN_FRONTEND=noninteractive … … 93 81 94 82 chroot /mnt grub-install --boot-directory=/boot /dev/sda 95 96 83 umount /mnt/proc 97 84 chroot /mnt apt-get -y install lvm2