Punt netplan.io on Front. Use drop-in with ifupdown (installed).
authorMatt Birkholz <matt@birchwood-abbey.net>
Sat, 24 Feb 2024 04:14:14 +0000 (21:14 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Sat, 24 Feb 2024 04:14:14 +0000 (21:14 -0700)
README.org

index 681fdc480ccfca35fb4ab97ce02e602316c852ff..aa32c53bbee180eb92262d6ed65f399c8d06336d 100644 (file)
@@ -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]].