Advertisement
Guest User

Untitled

a guest
Dec 20th, 2021
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. # vagrant up
  2.  
  3. Bringing machine 'smar02' up with 'virtualbox' provider...
  4. ==> smar02: Importing base box 'ubuntu-20.04_mini-20211220'...
  5. ==> smar02: Matching MAC address for NAT networking...
  6. ==> smar02: Setting the name of the VM: smar02
  7. ==> smar02: Fixed port collision for 22 => 2222. Now on port 2203.
  8. ==> smar02: Clearing any previously set network interfaces...
  9. ==> smar02: Preparing network interfaces based on configuration...
  10. smar02: Adapter 1: nat
  11. smar02: Adapter 2: bridged
  12. ==> smar02: Forwarding ports...
  13. smar02: 22 (guest) => 2203 (host) (adapter 1)
  14. ==> smar02: Running 'pre-boot' VM customizations...
  15. ==> smar02: Booting VM...
  16. ==> smar02: Waiting for machine to boot. This may take a few minutes...
  17. smar02: SSH address: 127.0.0.1:2203
  18. smar02: SSH username: vmadmin
  19. smar02: SSH auth method: password
  20. smar02: Warning: Connection reset. Retrying...
  21. smar02: Warning: Remote connection disconnect. Retrying...
  22. smar02:
  23. smar02: Inserting generated public key within guest...
  24. smar02: Removing insecure key from the guest if it's present...
  25. smar02: Key inserted! Disconnecting and reconnecting using new SSH key...
  26. ==> smar02: Machine booted and ready!
  27. ==> smar02: Checking for guest additions in VM...
  28. ==> smar02: Setting hostname...
  29. The following SSH command responded with a non-zero exit status.
  30. Vagrant assumes that this means the command failed!
  31.  
  32. grep -w 'smar02' /etc/hosts || {
  33. for i in 1 2 3 4 5; do
  34. grep -w "127.0.${i}.1" /etc/hosts || {
  35. echo "127.0.${i}.1 smar02 smar02" >> /etc/hosts
  36. break
  37. }
  38. done
  39. }
  40.  
  41.  
  42. Stdout from the command:
  43.  
  44.  
  45.  
  46. Stderr from the command:
  47.  
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement