]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC/Setup/CentOS.pm
Redhat: handle /etc/sysconfig/network better
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 23 Nov 2015 14:19:13 +0000 (15:19 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 26 Nov 2015 11:03:48 +0000 (12:03 +0100)
commitf0f3227459ab67fba4b8c7d09372c97be743db32
treec87f0547207ff183bcdfd1521d13b27ae06944e7
parent1db211287c86c908a164962b1f85fa76c973bcdf
Redhat: handle /etc/sysconfig/network better

The NETWORKING and NETWORKING_IPV6 variables are now setup
in setup_network instead of set_hostname, which now only
sets the hostname.

This changes the variable order so the testcase had to be
adapted.

Note that the HOSTNAME update s// now uses \h instead of \s
for horizontal spaces so it doesn't eat up newlines at the
end of file (caught by the testcase).
src/PVE/LXC/Setup/Redhat.pm
src/test/test-centos6-001/etc/sysconfig/network.exp