On Thu, 20 Jul 2017 13:22:58 +0200 Tom Weber <p...@junkyard.4t2.com> wrote:
> + if (defined($d->{ip}) and ($d->{ip} ne "dhcp")) { > + $raw .= "lxc.network.ipv4 = $d->{ip}\n"; > + $raw .= "lxc.network.ipv4.gateway = $d->{gw}\n" if > defined($d->{gw}); > + $raw .= "lxc.network.flags = up\n" if defined($d->{ip}); The if defined($d->{ip}) in this line is not needed since this is already true when entering this condition. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael <at> rasmussen <dot> cc http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E mir <at> datanom <dot> net http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C mir <at> miras <dot> org http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 -------------------------------------------------------------- /usr/games/fortune -es says: Cats, no less liquid than their shadows, offer no angles to the wind.
pgpdpaWNTS9kJ.pgp
Description: OpenPGP digital signature
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel