From b7486d427c562559eb91d71b2db1d1c845ee74e2 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Sun, 27 Dec 2020 16:57:28 +0100 Subject: [PATCH] Add debian/changelog entry for GH #58 and reformat its comments a bit --- debian/changelog | 1 + hooks/artful/40-setup-networking-deb-netplan | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5d646f2..bc46583 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ xen-tools (4.8.1~dev-1) UNRELEASED; urgency=medium + Mount /proc and /dev before calling update-grub. Thanks to Brandon Bradley for the bug report and patch. (Closes: #815021) + Add Debian install rules for arm64. (GH #62; patch by Ian McLinden) + + Add netplan p2p support for Ubuntu. (GH #58; patch by Volker Janzen) * Recommend deboootstrap ≥ 1.0.117~ for working bootstrapping of Ubuntu 6.06 Dapper and 6.10 Edgy (see #659360) and for support of Ubuntu diff --git a/hooks/artful/40-setup-networking-deb-netplan b/hooks/artful/40-setup-networking-deb-netplan index f30bd7c..ca296e5 100755 --- a/hooks/artful/40-setup-networking-deb-netplan +++ b/hooks/artful/40-setup-networking-deb-netplan @@ -72,11 +72,13 @@ setupStaticNetworking () if [ -n "${netmask}" ]; then cidr="$(mask2cdr ${netmask})" fi - # Volker + # p2p code by Volker Janzen gate=" gateway4: ${gateway}"; point=''; if [ -n "${p2p}" ]; then - # For a p2p setup the gateway4 keyword is replaced by the following on-link default route, when it matches the gateway4. + # For a p2p setup the gateway4 keyword is replaced by the + # following on-link default route, when it matches the + # gateway4. if [ "${p2p}" = "${gateway}" ]; then gate=" routes: - to: 0.0.0.0/0