$ vagrant ssh==> default: The machine you're attempting to SSH into is configured to use==> default: password-based authentication. Vagrant can't script entering the==> default: password for you. If you're prompted for a password, please enter==> default: the same password you have configured in the Vagrantfile.ubu...@127.0.0.1's password: |
# Front load the includesinclude_vagrantfile = File.expand_path("../include/_Vagrantfile", __FILE__)load include_vagrantfile if File.exist?(include_vagrantfile)Vagrant.configure("2") do |config|config.vm.base_mac = "022185D04910"config.ssh.username = "ubuntu"config.ssh.password = "27f8dbe40a2e195f6bd6434a"config.vm.provider "virtualbox" do |vb|vb.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ]vb.customize [ "modifyvm", :id, "--uartmode1", "file", File.join(Dir.pwd, "ubuntu-xenial-16.04-cloudimg-console.log") ]endend
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/76aefa2d-18c0-413e-915b-db52f615a9cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
THE Vagrant way is to add the known vagrant public ssh key, that will be replaced on first on first boot.So, if you are starting with a box that you will repackage the best is to addconfig.ssh.insert_key = falseto that intermediate box, so the ssh key won't be replaced.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/1f5c1731-9b14-4871-9cb6-6f3ce43e11fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Vagrant.configure("2") do |config|config.vm.base_mac = "022185D04910"config.ssh.username = "ubuntu"config.ssh.password = "27f8dbe40a2e195f6bd6434a"config.vm.provider "virtualbox" do |vb|vb.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ]vb.customize [ "modifyvm", :id, "--uartmode1", "file", File.join(Dir.pwd, "ubuntu-xenial-16.04-cloudimg-console.log") ]endend
0 kikitux ~ (master *) $ cat ~/.vagrant.d/boxes/hashicorp-VAGRANTSLASH-precise64/1.1.0/virtualbox/Vagrantfile
Vagrant::Config.run do |config|
# This Vagrantfile is auto-generated by `vagrant package` to contain
# the MAC address of the box. Custom configuration should be placed in
# the actual `Vagrantfile` in this box.
config.vm.base_mac = "080027880CA6"
end
# Load include vagrant file if it exists after the auto-generated
# so it can override any of the settings
include_vagrantfile = File.expand_path("../include/_Vagrantfile", __FILE__)
load include_vagrantfile if File.exist?(include_vagrantfile)
0 kikitux ~ (master *) $
if you want a more modern box try this:
https://app.vagrantup.com/cbednarski
You can also build your own box once you get the scripts in place:
ie, using packer.io and this :
https://github.com/kikitux/virtualbox-ovf/tree/master/xenial64
alvaro.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/cae31d71-d8db-45c5-810a-863e448c4e51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.