public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH container] fix #4164: use DHCP=yes instead of DHCP=both in systemd-networkd config
@ 2022-07-19 11:24 Oguz Bektas
  2022-07-19 11:52 ` Fabian Grünbichler
  0 siblings, 1 reply; 5+ messages in thread
From: Oguz Bektas @ 2022-07-19 11:24 UTC (permalink / raw)
  To: pve-devel

"both" option is deprecated, this gets rid of the warning in the journal

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
---
 src/PVE/LXC/Setup/Base.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/LXC/Setup/Base.pm b/src/PVE/LXC/Setup/Base.pm
index 8580bf0..cc12914 100644
--- a/src/PVE/LXC/Setup/Base.pm
+++ b/src/PVE/LXC/Setup/Base.pm
@@ -261,7 +261,7 @@ DATA
 	my ($has_ipv4, $has_ipv6);
 
 	# DHCP bitflags:
-	my @DHCPMODES = ('no', 'v4', 'v6', 'both');
+	my @DHCPMODES = ('no', 'v4', 'v6', 'yes');
 	my ($NONE, $DHCP4, $DHCP6, $BOTH) = (0, 1, 2, 3);
 	my $dhcp = $NONE;
 	my $accept_ra = 'false';
-- 
2.30.2





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-25  8:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 11:24 [pve-devel] [PATCH container] fix #4164: use DHCP=yes instead of DHCP=both in systemd-networkd config Oguz Bektas
2022-07-19 11:52 ` Fabian Grünbichler
2022-07-19 11:54   ` Oguz Bektas
2022-07-22 12:50     ` [pve-devel] applied: " Wolfgang Bumiller
2022-07-25  8:25       ` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal