How to use this box with Vagrant:
Vagrant.configure("2") do |config|
config.vm.box = "ailispaw/rancheros-lite"
end
vagrant init ailispaw/rancheros-lite
vagrant up
This version was created almost 7 years ago.
Cf.) https://github.com/ailispaw/rancheros-lite
Cf.) https://github.com/ailispaw/os-base/tree/lite
Cf.) https://github.com/ailispaw/rancheros-cluster
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 --restart=always",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 7 years ago.
Cf.) https://github.com/ailispaw/rancheros-lite
Cf.) https://github.com/ailispaw/os-base/tree/lite
Cf.) https://github.com/ailispaw/rancheros-cluster
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 --restart=always",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 7 years ago.
Cf.) https://github.com/ailispaw/rancheros-lite
Cf.) https://github.com/ailispaw/os-base/tree/lite
Cf.) https://github.com/ailispaw/rancheros-cluster
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 --restart=always",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 7 years ago.
Cf.) https://github.com/ailispaw/rancheros-lite
Cf.) https://github.com/ailispaw/os-base/tree/lite
Cf.) https://github.com/ailispaw/rancheros-cluster
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 --restart=always",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 7 years ago.
Cf.) https://github.com/ailispaw/rancheros-lite
Cf.) https://github.com/ailispaw/os-base/tree/lite
Cf.) https://github.com/ailispaw/rancheros-cluster
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 --restart=always",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 7 years ago.
Cf.) https://github.com/ailispaw/rancheros-lite
Cf.) https://github.com/ailispaw/os-base/tree/lite
Cf.) https://github.com/ailispaw/rancheros-cluster
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 --restart=always",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 7 years ago.
Cf.) https://github.com/ailispaw/rancheros-lite
Cf.) https://github.com/ailispaw/os-base/tree/lite
Cf.) https://github.com/ailispaw/rancheros-cluster
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 --restart=always",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 7 years ago.
Cf.) https://github.com/ailispaw/rancheros-lite
Cf.) https://github.com/ailispaw/os-base/tree/lite
Cf.) https://github.com/ailispaw/rancheros-cluster
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 --restart=always",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 7 years ago.
Cf.) https://github.com/ailispaw/rancheros-lite
Cf.) https://github.com/ailispaw/os-base/tree/lite
Cf.) https://github.com/ailispaw/rancheros-cluster
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 --restart=always",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 7 years ago.
Cf.) https://github.com/ailispaw/rancheros-lite
Cf.) https://github.com/ailispaw/os-base/tree/lite
Cf.) https://github.com/ailispaw/rancheros-cluster
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 --restart=always",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end