Skip to content

Instantly share code, notes, and snippets.

@KubqoA
Created January 23, 2018 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KubqoA/d8c3296408886753f2b24b39c1dbcaa3 to your computer and use it in GitHub Desktop.
Save KubqoA/d8c3296408886753f2b24b39c1dbcaa3 to your computer and use it in GitHub Desktop.
homestead
C:\Users\arbet\Homestead>vagrant destroy
homestead-7: Are you sure you want to destroy the 'homestead-7' VM? [y/N] y
==> homestead-7: Stopping the machine...
==> homestead-7: Deleting the machine...
C:\Users\arbet\Homestead>vagrant up
Bringing machine 'homestead-7' up with 'hyperv' provider...
==> homestead-7: Verifying Hyper-V is enabled...
==> homestead-7: Importing a Hyper-V instance
homestead-7: Please choose a switch to attach to your Hyper-V instance.
homestead-7: If none of these are appropriate, please open the Hyper-V manager
homestead-7: to create a new virtual switch.
homestead-7:
homestead-7: 1) Default Switch
homestead-7: 2) External
homestead-7: 3) NATSwitch
homestead-7:
homestead-7: What switch would you like to use? 1
homestead-7: Cloning virtual hard drive...
homestead-7: Creating and registering the VM...
homestead-7: Setting VM Integration Services
homestead-7: Successfully imported a VM with name: ubuntu-16.04-amd64
==> homestead-7: Starting the machine...
==> homestead-7: Waiting for the machine to report its IP address...
homestead-7: Timeout: 120 seconds
homestead-7: IP: 192.168.196.57
==> homestead-7: Waiting for machine to boot. This may take a few minutes...
homestead-7: SSH address: 192.168.196.57:22
homestead-7: SSH username: vagrant
homestead-7: SSH auth method: private key
homestead-7:
homestead-7: Vagrant insecure key detected. Vagrant will automatically replace
homestead-7: this with a newly generated keypair for better security.
homestead-7:
homestead-7: Inserting generated public key within guest...
homestead-7: Removing insecure key from the guest if it's present...
homestead-7: Key inserted! Disconnecting and reconnecting using new SSH key...
==> homestead-7: Machine booted and ready!
==> homestead-7: Preparing SMB shared folders...
homestead-7: You will be asked for the username and password to use for the SMB
homestead-7: folders shortly. Please use the proper username/password of your
homestead-7: Windows account.
homestead-7:
homestead-7: Username: arbet
homestead-7: Password (will be hidden):
==> homestead-7: Setting hostname...
==> homestead-7: Mounting SMB shared folders...
homestead-7: C:/Users/arbet/Documents/Projects => /home/vagrant/code
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:
mount -t cifs -o uid=1000,gid=1000,sec=ntlmssp,credentials=/etc/smb_creds_4843eb5b7db320abdcd089c546574968 //192.168.10.106/4843eb5b7db320abdcd089c546574968 /home/vagrant/code
The error output from the last command was:
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
@svpernova09
Copy link

Try creating a new virtual switch to use for Homestead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment