Skip to content

Commit

Permalink
builder: Use proper /sbin/ip per issue #15
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeydoherty committed Nov 13, 2017
1 parent fc2bd2a commit eef38f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder/overlay.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func (o *Overlay) MountVFS() error {
// ConfigureNetworking will add a loopback interface to the container so
// that localhost networking will still work
func (o *Overlay) ConfigureNetworking() error {
ipCommand := "ip link set lo up"
ipCommand := "/sbin/ip link set lo up"
log.Debug("Configuring container networking")
if err := commands.ChrootExec(o.MountPoint, ipCommand); err != nil {
log.WithFields(log.Fields{
Expand Down

0 comments on commit eef38f4

Please sign in to comment.