Skip to content

Instantly share code, notes, and snippets.

@khaije1
Created July 12, 2016 05:36
Show Gist options
  • Save khaije1/b96b48959f12f60e730df054c7e659f4 to your computer and use it in GitHub Desktop.
Save khaije1/b96b48959f12f60e730df054c7e659f4 to your computer and use it in GitHub Desktop.
==> salt-test-d1: Clearing any previously set forwarded ports...
==> salt-test-d1: Clearing any previously set network interfaces...
==> salt-test-d1: [landrush] virtualbox requires an additional private network; adding it
==> salt-test-d1: [landrush] Host DNS resolver config looks good.
==> salt-test-d1: Preparing network interfaces based on configuration...
salt-test-d1: Adapter 1: nat
salt-test-d1: Adapter 2: hostonly
==> salt-test-d1: Forwarding ports...
salt-test-d1: 22 (guest) => 2222 (host) (adapter 1)
==> salt-test-d1: Booting VM...
==> salt-test-d1: Waiting for machine to boot. This may take a few minutes...
salt-test-d1: SSH address: 127.0.0.1:2222
salt-test-d1: SSH username: vagrant
salt-test-d1: SSH auth method: private key
salt-test-d1: Warning: Remote connection disconnect. Retrying...
==> salt-test-d1: Machine booted and ready!
==> salt-test-d1: Checking for guest additions in VM...
==> salt-test-d1: Setting hostname...
==> salt-test-d1: Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
# Down the interface before munging the config file. This might
# fail if the interface is not actually set up yet so ignore
# errors.
/sbin/ifdown '' || true
# Move new config into place
mv '/tmp/vagrant-network-entry--1468301633-0' '/etc/sysconfig/network-scripts/ifcfg-'
# Bring the interface up
ARPCHECK=no /sbin/ifup ''
Stdout from the command:
Stderr from the command:
usage: ifdown <device name>
Usage: ifup <device name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment