From: Matt Birkholz Date: Sat, 24 Feb 2024 04:14:14 +0000 (-0700) Subject: Punt netplan.io on Front. Use drop-in with ifupdown (installed). X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=0e629066e5da696497964df30f955c70434ccc38;p=Institute Punt netplan.io on Front. Use drop-in with ifupdown (installed). --- diff --git a/README.org b/README.org index 681fdc4..aa32c53 100644 --- a/README.org +++ b/README.org @@ -6913,24 +6913,19 @@ VBoxManage modifyvm front --nic1 natnetwork --natnetwork1 premises VBoxManage modifyvm front --nic2 hostonly --hostonlyadapter2 vboxnet1 #+END_SRC -The second network interface is configured with an IP address via the -Netplan configuration file =/etc/netplan/01-testing.yaml=, which is -created with the following lines. +After Debian is installed and the machine rebooted, the administrator +logs in and configures the "extra" network interface with a static IP +address using a drop-in configuration file: +=/etc/network/interfaces.d/eth1=. +#+CAPTION: =eth1= #+BEGIN_SRC conf -network: - ethernets: - enp0s8: - dhcp4: false - addresses: [ 192.168.57.3/24 ] +auto enp0s8 +iface enp0s8 inet static + address 192.168.57.3/24 #+END_SRC -The amended Netplan is applied immediately with the following command, -or the machine is rebooted. - -#+BEGIN_SRC sh -sudo netplan apply -#+END_SRC +A ~sudo ifup enp0s8~ command then brings the interface up. Finally, the administrator authorizes remote access by following the instructions in the final section: [[* Ansible Test Authorization][Ansible Test Authorization]].