AUTOMATIC SERVER PAAS / IAAS / SAAS
YOUR OWN MISSION TO DIGITAL SPACE
WIR TEILEN UNSER WISSEN COACHING / CONSULTING / MEETUPS / WORKSHOPS
Von Oliver Schad
apt -y install upstart-sysv echo "/sbin/lvm vgchange -ay" >> /usr/share/initramfs-tools/scripts/init-bottom/lvm2 update-initramfs -u -k $(uname -r) reboot apt-get remove --purge --auto-remove systemd systemd:i386 -y echo -e 'Package: systemd\nPin: release *\nPin-Priority: -1' > /etc/apt/preferences.d/systemd echo -e '\n\nPackage: *systemd*\nPin: release *\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd echo -e '\nPackage: systemd:amd64\nPin: release *\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd echo -e '\nPackage: systemd:i386\nPin: release *\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd reboot apt-get remove --purge --auto-remove systemd systemd:i386 -y reboot echo 'GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 apparmor=0"' >> /etc/default/grub grub-mkconfig > /boot/grub/grub.cfg orig_interface_name=$(ip r | grep -oP '^default.* dev \K[^ ]*') sed -i "s/$orig_interface_name/eth0/g" /etc/network/interfaces mac=$(ip a s dev $orig_interface_name | grep -oP "link/ether \K[0-9a-f:]*") cat <<EOF >> /etc/udev/rules.d/70-persistent-net.rules SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="$mac", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" EOF
Hardstrasse 469434 Au (SG) | Schweiz
info@automatic-server.com
+41 71 511 31 11