Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/sbin/ip addr flush dev eth1 2> /dev/null #34

Closed
narkisr opened this issue Nov 28, 2015 · 3 comments
Closed

/sbin/ip addr flush dev eth1 2> /dev/null #34

narkisr opened this issue Nov 28, 2015 · 3 comments

Comments

@narkisr
Copy link

narkisr commented Nov 28, 2015

While launching ubuntu 15.10 both from Atlas and both from local build:

vagrant up minimal
Bringing machine 'minimal' up with 'virtualbox' provider...
==> minimal: Box 'boxcutter/ubuntu1510' could not be found. Attempting to find and install...
    minimal: Box Provider: virtualbox
    minimal: Box Version: >= 0
==> minimal: Loading metadata for box 'boxcutter/ubuntu1510'
    minimal: URL: https://atlas.hashicorp.com/boxcutter/ubuntu1510
==> minimal: Adding box 'boxcutter/ubuntu1510' (v2.0.9) for provider: virtualbox
    minimal: Downloading: https://atlas.hashicorp.com/boxcutter/boxes/ubuntu1510/versions/2.0.9/providers/virtualbox.box
==> minimal: Successfully added box 'boxcutter/ubuntu1510' (v2.0.9) for 'virtualbox'!
==> minimal: Importing base box 'boxcutter/ubuntu1510'...
==> minimal: Matching MAC address for NAT networking...
==> minimal: Checking if box 'boxcutter/ubuntu1510' is up to date...
==> minimal: Setting the name of the VM: puppet-base-env_minimal_1448753498955_38178
==> minimal: Clearing any previously set network interfaces...
==> minimal: Preparing network interfaces based on configuration...
    minimal: Adapter 1: nat
    minimal: Adapter 2: bridged
==> minimal: Forwarding ports...
    minimal: 22 => 2222 (adapter 1)
==> minimal: Running 'pre-boot' VM customizations...
==> minimal: Booting VM...
==> minimal: Waiting for machine to boot. This may take a few minutes...
    minimal: SSH address: 127.0.0.1:2222
    minimal: SSH username: vagrant
    minimal: SSH auth method: private key
    minimal: Warning: Connection timeout. Retrying...
    minimal: 
    minimal: Vagrant insecure key detected. Vagrant will automatically replace
    minimal: this with a newly generated keypair for better security.
    minimal: 
    minimal: Inserting generated public key within guest...
    minimal: Removing insecure key from the guest if it's present...
    minimal: Key inserted! Disconnecting and reconnecting using new SSH key...
==> minimal: Machine booted and ready!
==> minimal: Checking for guest additions in VM...
==> minimal: Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

/sbin/ip addr flush dev eth1 2> /dev/null

Stdout from the command:



Stderr from the command:
@annawake
Copy link
Contributor

Post your Vagrantfile and a gist with VAGRANT_LOG=info set. I'm not seeing this issue in the standard test suite, and it spins up a box in the tests.

@narkisr
Copy link
Author

narkisr commented Nov 30, 2015

This seems to be related to the network interface naming scheme change in 15.10, do you guys set a public network during the test? if you remove the public all works fine.

A possible work around might be this

@annawake
Copy link
Contributor

annawake commented Aug 21, 2016

Ubuntu 15.10 is now EOL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants