mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added keybase vagrant box and updated the docs
This commit is contained in:
34
vagrant/keybase/Vagrantfile
vendored
Normal file
34
vagrant/keybase/Vagrantfile
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
# Sources:
|
||||
# - https://book.keybase.io/guides/linux
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "fedora/35-cloud-base"
|
||||
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
vb.name = "keybase"
|
||||
vb.cpus = 1
|
||||
vb.memory = "1024"
|
||||
vb.customize ["modifyvm", :id, "--vram", "64"]
|
||||
vb.customize ["modifyvm", :id, "--graphicscontroller", "vmsvga"]
|
||||
end
|
||||
|
||||
config.vm.provision :shell do |shell|
|
||||
shell.env = {
|
||||
"KEYBASE_ALLOW_ROOT" => 1,
|
||||
"KEYBASE_DEVICENAME" => ENV['KEYBASE_DEVICENAME'],
|
||||
"KEYBASE_NO_KBFS" => 0,
|
||||
"KEYBASE_NO_GUI" => 1,
|
||||
"KEYBASE_PAPERKEY" => ENV['KEYBASE_PAPERKEY'],
|
||||
"KEYBASE_USERNAME" => ENV['KEYBASE_USERNAME'],
|
||||
}
|
||||
shell.inline = <<-SHELL
|
||||
dnf install --assumeyes https://prerelease.keybase.io/keybase_amd64.rpm
|
||||
|
||||
keybase oneshot
|
||||
keybase git list
|
||||
SHELL
|
||||
end
|
||||
end
|
||||
9
vagrant/xfce4-latest/Vagrantfile
vendored
9
vagrant/xfce4-latest/Vagrantfile
vendored
@@ -6,23 +6,22 @@ Vagrant.configure("2") do |config|
|
||||
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
vb.name = "xfce4 latest"
|
||||
vb.memory = "3072"
|
||||
vb.cpus = 1
|
||||
vb.memory = "2048"
|
||||
vb.gui = true
|
||||
vb.customize ["modifyvm", :id, "--vram", "64"]
|
||||
vb.customize ["modifyvm", :id, "--graphicscontroller", "vmsvga"]
|
||||
vb.customize ["modifyvm", :id, "--cpuexecutioncap", "50"]
|
||||
end
|
||||
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
pacman --noconfirm \
|
||||
--remove --nosave --recursive --unneeded \
|
||||
virtualbox-guest-utils-nox
|
||||
|
||||
pacman --noconfirm \
|
||||
--sync --needed --noprogressbar --quiet --refresh \
|
||||
virtualbox-guest-utils
|
||||
SHELL
|
||||
config.vm.provision "shell", path: "../../scripts/archlinux/xfce4.install.sh"
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
shutdown -r now
|
||||
SHELL
|
||||
config.vm.provision "shell", reboot: true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user