Home > vagrant > Getting vagrants ubuntu user password (ubuntu/xenial64)

Getting vagrants ubuntu user password (ubuntu/xenial64)

Problem:
Needed to have the ubuntu user password.

Solution:

less /home/rodnee/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-xenial64/20170721.0.0/virtualbox/Vagrantfile

# Front load the includes
include_vagrantfile = File.expand_path("../include/_Vagrantfile", __FILE__)
load include_vagrantfile if File.exist?(include_vagrantfile)

Vagrant.configure("2") do |config|
  config.vm.base_mac = "02824597EBF4"
  config.ssh.username = "ubuntu"
  config.ssh.password = "e0a41beeab17f069b9c4c452"

  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") ]
  end
end

Source:
https://bugs.launchpad.net/cloud-images/+bug/1569237/comments/43
https://stackoverflow.com/questions/41337802/vagrants-ubuntu-16-04-vagrantfile-default-password#41828919

Advertisements
Categories: vagrant Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: