Advertisement
Guest User

Windows Provisioning

a guest
May 18th, 2016
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. ==========Links==========
  2. https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/windows/
  3. https://az792536.vo.msecnd.net/vms/VMBuild_20150916/Vagrant/IE11/IE11.Win81.Vagrant.zip
  4.  
  5. ==========Vagrantfile==========
  6. Vagrant.configure(2) do |config|
  7. config.vm.box = "8.1"
  8. config.ssh.username="IEUser"
  9. config.ssh.password="Passw0rd!"
  10. config.vm.provision "bootstrap", type: "shell", inline: <<-SHELL
  11. echo "inside"
  12. SHELL
  13. end
  14.  
  15. ==========Steps==========
  16. cd 8.1
  17. vagrant box add --name "8.1" "IE11 - Win81.box"
  18.  
  19. ==========ERROR==========
  20. vagrant up -no-provision
  21. Bringing machine 'default' up with 'virtualbox' provider...
  22. ==> default: Clearing any previously set forwarded ports...
  23. ==> default: Clearing any previously set network interfaces...
  24. ==> default: Preparing network interfaces based on configuration...
  25. default: Adapter 1: nat
  26. ==> default: Forwarding ports...
  27. default: 22 (guest) => 2222 (host) (adapter 1)
  28. ==> default: Booting VM...
  29. ==> default: Waiting for machine to boot. This may take a few minutes...
  30. default: SSH address: 127.0.0.1:2222
  31. default: SSH username: IEUser
  32. default: SSH auth method: password
  33. ==> default: Machine booted and ready!
  34. ==> default: Checking for guest additions in VM...
  35. ==> default: Mounting shared folders...
  36. default: /vagrant => C:/Users/User/Desktop/Vagrant Boxes/8.1
  37. The following SSH command responded with a non-zero exit status.
  38. Vagrant assumes that this means the command failed!
  39.  
  40. mkdir -p C:\Users\IEUser>
  41.  
  42. Stdout from the command:
  43.  
  44.  
  45. Stderr from the command:
  46.  
  47. sh: sudo: command not found
  48.  
  49. ==========ERROR==========
  50. vagrant halt #needed manual shutdown
  51. ==> default: Attempting graceful shutdown of VM...
  52. The following SSH command responded with a non-zero exit status.
  53. Vagrant assumes that this means the command failed!
  54.  
  55. shutdown -h now
  56.  
  57. Stdout from the command:
  58.  
  59.  
  60.  
  61. Stderr from the command:
  62.  
  63. sh: sudo: command not found
  64.  
  65.  
  66. ==========ERROR==========
  67. vagrant up --provision-with bootstrap
  68. Bringing machine 'default' up with 'virtualbox' provider...
  69. ==> default: Clearing any previously set forwarded ports...
  70. ==> default: Clearing any previously set network interfaces...
  71. ==> default: Preparing network interfaces based on configuration...
  72. default: Adapter 1: nat
  73. ==> default: Forwarding ports...
  74. default: 22 (guest) => 2222 (host) (adapter 1)
  75. ==> default: Running 'pre-boot' VM customizations...
  76. ==> default: Booting VM...
  77. ==> default: Waiting for machine to boot. This may take a few minutes...
  78. default: SSH address: 127.0.0.1:2222
  79. default: SSH username: IEUser
  80. default: SSH auth method: password
  81. ==> default: Machine booted and ready!
  82. ==> default: Checking for guest additions in VM...
  83. ==> default: Mounting shared folders...
  84. default: /vagrant => C:/Users/User/Desktop/Vagrant Boxes/ssh
  85. The following SSH command responded with a non-zero exit status.
  86. Vagrant assumes that this means the command failed!
  87.  
  88. mkdir -p C:\Users\IEUser>
  89.  
  90. Stdout from the command:
  91.  
  92.  
  93.  
  94. Stderr from the command:
  95.  
  96. sh: sudo: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement