Skip to content

Commit

Permalink
needed sbin path for ifconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Oct 18, 2012
1 parent 1c1e537 commit 1eade1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/network/manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}

exec { "vboxnetup":
path => "/bin:/usr/bin",
path => "/bin:/usr/bin:/sbin",
unless => "ifconfig | grep 192.168.56.101",
command => "ifconfig eth1 192.168.56.101 netmask 255.255.255.0 up",
}
Expand All @@ -42,4 +42,4 @@



}
}

0 comments on commit 1eade1e

Please sign in to comment.