Showing posts with label vm. Show all posts
Showing posts with label vm. Show all posts

Friday, 20 September 2013

Set IPs on vagrant-lxc VMs

Cross-communication is always nice.

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  config.vm.define "web", primary: true do |web|
    web.vm.box = "quantal64"
    web.vm.provider :lxc do |lxc|
      lxc.customize 'network.ipv4', '10.0.3.100/32'
    end
  end

  config.vm.define "db" do |db|
    db.vm.box = "quantal64"
    db.vm.provider :lxc do |lxc|
      lxc.customize 'network.ipv4', '10.0.3.101/32'
    end
  end

end


FYI, versioning info:

vagrant -v
Vagrant 1.3.3

vagrant plugin list
vagrant-lxc (0.6.0)

Tuesday, 11 September 2012

Add Virtualbox "Guest Additions" to Ubuntu Desktop 12.04

  1. The VM must be running to install the Guest Additions, so start up the VM
  2. Once the VM window shows the booted instance, find the "Devices" menu option at the very top of the encapsulating window (this is hard to make clear/clarify) but don't do anything with it yet.
  3. Make sure you are logged into your user's desktop on the VM
  4. On the VM, make sure your user has root privileges (not covered here), also called "sudo" privileges
  5. Choose Devices -> Install Guest Additions
  6. Confirm all prompts to download and mount the virtual CD from Virtualbox, this may take a while to download/complete
  7. Run the install when prompted
  8. Reboot the VM
  9. Send issues

Interview questions: 2020-12

Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer  Networking Layer 1 vs Layer 4 haproxy u...