From 0e629066e5da696497964df30f955c70434ccc38 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Fri, 23 Feb 2024 21:14:14 -0700 Subject: [PATCH] Punt netplan.io on Front. Use drop-in with ifupdown (installed). --- README.org | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) 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]]. -- 2.25.1