forked from nix-community/nixbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
29 lines (24 loc) · 747 Bytes
/
Copy pathVagrantfile
File metadata and controls
29 lines (24 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -*- 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.
arch = ENV["ARCH"]
Vagrant.configure("2") do |config|
config.vm.box = "nixbox-" + arch.to_s
config.vm.disk :disk, size: "50GB", primary: true
config.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = "4096"
end
config.vm.provider "qemu" do |qe|
qe.arch = "x86_64"
qe.machine = "q35"
qe.cpu = "max"
qe.net_device = "virtio-net-pci"
qe.memory = "1024"
qe.qemu_dir = "/usr/lib/qemu"
end
config.ssh.insert_key = false
end