From 4615558c725c03a1fd9cadc3f853cac7fe27bfd4 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Sat, 2 Sep 2023 21:55:22 +0200 Subject: [PATCH] Add Vagrantfile for lime2 testing --- .gitignore | 1 + Vagrantfile | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index 780926e..f33b5c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.swp .talismanrc __pycache__ +.vagrant/ diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..ad459eb --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,15 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.define "lime2" do |lime2| + lime2.vm.box = "debian/bookworm64" + lime2.vm.hostname = "lime2" + lime2.vm.provision "shell" do |shell| + ssh_pub_key = File.readlines("#{Dir.home}/.ssh/id_rsa.pub").first.strip + shell.inline = <<-SHELL + echo #{ssh_pub_key} >> /home/vagrant/.ssh/authorized_keys + SHELL + end + end +end