Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # vagrant up
- Bringing machine 'smar02' up with 'virtualbox' provider...
- ==> smar02: Importing base box 'ubuntu-20.04_mini-20211220'...
- ==> smar02: Matching MAC address for NAT networking...
- ==> smar02: Setting the name of the VM: smar02
- ==> smar02: Fixed port collision for 22 => 2222. Now on port 2203.
- ==> smar02: Clearing any previously set network interfaces...
- ==> smar02: Preparing network interfaces based on configuration...
- smar02: Adapter 1: nat
- smar02: Adapter 2: bridged
- ==> smar02: Forwarding ports...
- smar02: 22 (guest) => 2203 (host) (adapter 1)
- ==> smar02: Running 'pre-boot' VM customizations...
- ==> smar02: Booting VM...
- ==> smar02: Waiting for machine to boot. This may take a few minutes...
- smar02: SSH address: 127.0.0.1:2203
- smar02: SSH username: vmadmin
- smar02: SSH auth method: password
- smar02: Warning: Connection reset. Retrying...
- smar02: Warning: Remote connection disconnect. Retrying...
- smar02:
- smar02: Inserting generated public key within guest...
- smar02: Removing insecure key from the guest if it's present...
- smar02: Key inserted! Disconnecting and reconnecting using new SSH key...
- ==> smar02: Machine booted and ready!
- ==> smar02: Checking for guest additions in VM...
- ==> smar02: Setting hostname...
- The following SSH command responded with a non-zero exit status.
- Vagrant assumes that this means the command failed!
- grep -w 'smar02' /etc/hosts || {
- for i in 1 2 3 4 5; do
- grep -w "127.0.${i}.1" /etc/hosts || {
- echo "127.0.${i}.1 smar02 smar02" >> /etc/hosts
- break
- }
- done
- }
- Stdout from the command:
- Stderr from the command:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement