2024-04-04 12:41:58 +02:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'libvirt'
|
|
|
|
|
|
|
|
PBOTVM_SERIAL = ENV['PBOTVM_SERIAL'] || 5555
|
pbot-vm: massive refactor
* replace heartbeat with health-check
* instead of steady stream of newlines every 5s, now awaits input
and responds with `vmstat` output
* more reliably use host/config/vm-exec.json to get libvirt domain name
for snapshot-revert, server address, serial ports, vagrant setting, etc
* use iptables/nftables to disable networking
* added guest/bin/disable-network-[iptables,nftables]
* added guest/bin/enable-network-[iptables,nftables]
* replace ugly ___OUTPUT___ texts in sh, bash, ksh, zsh languages
* documentation updates and tweaks
2024-04-10 10:21:18 +02:00
|
|
|
PBOTVM_HEALTH = ENV['PBOTVM_HEALTH'] || 5556
|
|
|
|
PBOTVM_DOMAIN = ENV['PBOTVM_DOMAIN'] || 'pbot-vm'
|
2024-04-04 12:41:58 +02:00
|
|
|
|
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
# Every Vagrant development environment requires a box. You can search for
|
|
|
|
# boxes at https://vagrantcloud.com/search.
|
|
|
|
config.vm.box = "debian/testing64"
|
|
|
|
end
|
|
|
|
|
|
|
|
load '../common/Vagrantfile.common'
|