scissor-project / open-scissor

OpenSCISSOR provisioning and orchestration
Apache License 2.0
2 stars 0 forks source link

problem with vagrant up in development branch #60

Closed StefanoSalsano closed 6 years ago

StefanoSalsano commented 6 years ago

Prerequisites

Description

running "vagrant up" after a clone of master branch results in an error :

Stderr from the command:
bash: line 4: /sbin/ifdown: No such file or directory
bash: line 20: /sbin/ifup: No such file or directory

Host Environment

Output

vagrantup-development-error-log.log

Steps to Reproduce

  1. clone the repository
  2. vagrant up

Additional Information

References

ferrarimarco commented 6 years ago

@StefanoSalsano can you please update to the latest Vagrant 2.0.3 and try again? There are a couple of Debian-specific fixes (that box is based on Ubuntu so they may apply to this situation).

Update /cc @StefanoSalsano: I tried with Vagrant 2.0.3 on the same environment (Windows 10, Virtualbox 5.2.8) and it's working:

MINGW64 ~/workspaces/open-scissor (development) $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'ferrarimarco/open-development-environment-devbox'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'ferrarimarco/open-development-environment-devbox' is up to date... ==> default: Setting the name of the VM: open-scissor_default_1522138476406_43588 ==> default: Fixed port collision for 22 => 2222. Now on port 2200. ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports... default: 22 (guest) => 2200 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2200 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection aborted. Retrying... default: Warning: Connection reset. Retrying... default: Warning: Connection aborted. Retrying... default: Warning: Connection reset. Retrying... default: Warning: Connection aborted. Retrying... default: Warning: Connection reset. Retrying... default: Warning: Connection aborted. Retrying... default: Warning: Connection reset. Retrying... default: Warning: Connection aborted. Retrying... default: Warning: Connection reset. Retrying... default: Warning: Connection aborted. Retrying... default: Warning: Connection reset. Retrying... default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if it's present... default: Key inserted! Disconnecting and reconnecting using new SSH key... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... ==> default: Configuring and enabling network interfaces... ==> default: Mounting shared folders... default: /vagrant => C:/Users/marco.ferrari/workspaces/open-scissor

StefanoSalsano commented 6 years ago

yes I confirm that it is working with the updated vagrant !!