Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Commit

Permalink
Bug 1355095 - apply ubuntu 16.04 /etc/network/interfaces. r=dividehex
Browse files Browse the repository at this point in the history
  • Loading branch information
davehouse committed Apr 18, 2017
1 parent 1b3fd29 commit 571cc8f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions modules/network/manifests/init.pp
Expand Up @@ -30,6 +30,22 @@
}
}

# Bug 1355095 - Network configuration issue on Ubuntu 16.04 Xen VM
case $::operatingsystem {
Ubuntu: {
case $::operatingsystemrelease {
16.04: {
if ($::virtual == "xenhvm") {
file {
"/etc/network/interfaces":
content => template("network/ubuntu_interfaces.erb");
}
}
}
}
}
}

if ($::config::manage_ifcfg) {
# ensure interface configuration is correct
# (in particular, don't use peer NTP configuration, as that comes from puppet)
Expand Down

0 comments on commit 571cc8f

Please sign in to comment.