search for: facter_venet_dev

Displaying 1 result from an estimated 1 matches for "facter_venet_dev".

2008 Jul 01
6
OpenVZ configuration of networking with puppet - big crash
...ly wrong as you will see below. Here''s the script I wrote to replace the redhat specific setup that OpenVZ used: [jleggett@lxp6d15m3 scripts]$ cat redhat-add_ip.sh #!/bin/bash # # Debug - take out later set -x LOGFILE=/tmp/add_ip-dbug.log exec >$LOGFILE 2>&1 FACTER_IP_ADDR=$1 FACTER_VENET_DEV=venet0 FACTER_VENET_DEV_CFG=ifcfg-$FACTER_VENET_DEV FACTER_IFNUM=$2 echo "Running puppet-ized version of redhat-add_ip.sh" /bin/cat <<EOM | /usr/bin/puppet file {"/etc/sysconfig/network-scripts/$VENET_DEV_CFG": owner => root, mode => 644, ensu...