Skip to content

Instantly share code, notes, and snippets.

View briancain's full-sized avatar
🌀

Brian Cain briancain

🌀
View GitHub Profile
config.vm.define "bork" do |b|
b.vm.box = "bento/ubuntu-18.04"
b.vm.hostname = "bento-debian"
b.trigger.after :up do |t|
host = b.vm.hostname
t.run = {inline: "echo '#{host}'"}
end
end
brian@localghost:vagrant-sandbox % be vagrant cloud search ubuntu ±[●●][master]
| NAME | VERSION | DOWNLOADS | PROVIDERS |
+-----------------------------------+------------------+------------+----------------------------------------------------+
| ubuntu/trusty64 | 20180709.0.5 | 30,185,374 | virtualbox |
| hashicorp/precise64 | 1.1.0 | 6,674,130 | virtualbox,vmware_fusion,hyperv |
| ubuntu/xenial64 | 20180717.0.0 | 3,049,493 | virtualbox |
| puphpet/ubuntu1404-x64 | 20161102 | 2,506,894 | vmware_desktop,virtualbox,parallels |
| hashicorp/precise32 | 1.0.0 | 2,261,068 | virtualbox |
| ubuntu/trusty32 | 201807

Compare

  • CimSession
  • ComputerName
  • Credential
  • VirtualMachinePath
  • SnapshotFilePath
  • SmartPagingFilePath
  • CompatibilityReport
  • AsJob
  • Name
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.container {
position: relative;
width: 50%;
}
brian@localghost:vagrant-sandbox % be vagrant up bork ±[●●][master]
You appear to be running Vagrant outside of the official installers.
Note that the installers are what ensure that Vagrant has all required
dependencies, and Vagrant assumes that these dependencies exist. By
running outside of the installer environment, Vagrant may not function
properly. To remove this warning, install Vagrant using one of the
official packages from vagrantup.com.
Bringing machine 'bork' up with 'virtualbox' provider...
==> bork: Checking if box 'hashicorp/precise64_custom' is up to date...
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-16.04"
require File.expand_path("../../../../base", __FILE__)
require Vagrant.source_root.join("plugins/kernel_v2/config/trigger")
describe Vagrant::Plugin::V2::Trigger do
include_context "unit"
let(:iso_env) do
# We have to create a Vagrantfile so there is a root path
isolated_environment.tap do |env|
env.vagrantfile("")
INFO global: Vagrant version: 2.0.1.dev
INFO global: Ruby version: 2.3.3
INFO global: RubyGems version: 2.6.13
INFO global: VAGRANT_VMWARE_PRODUCT="fusion"
INFO global: VAGRANT_LOG="debug"
INFO global: Plugins:
DEBUG bundler: Current generated plugin dependency list: []
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: []
You appear to be running Vagrant outside of the official installers.
Note that the installers are what ensure that Vagrant has all required
dependencies, and Vagrant assumes that these dependencies exist. By
running outside of the installer environment, Vagrant may not function
properly. To remove this warning, install Vagrant using one of the
official packages from vagrantup.com.
Bringing machine 'openindiana' up with 'virtualbox' provider...
==> openindiana: Importing base box 'openindiana/hipster'...
Progress: 10%
log 'message' do
message 'Hellloooo thereeeeee!'
level :info
end
reboot 'app_requires_reboot' do
action :request_reboot
reason 'Need to reboot when the run completes successfully.'
end