From ab7087581e77277df6efae7aa1f88433ee02b42a Mon Sep 17 00:00:00 2001 From: Superkooka Date: Sun, 28 Mar 2021 20:36:29 +0200 Subject: [PATCH] fix: remove ssh key for Vagrantfile --- Vagrantfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 9a8058f..f8ce974 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,11 +4,7 @@ Vagrant.configure("2") do |config| config.vm.network "forwarded_port", guest: 8000, host: 8000 config.vm.provision "shell" do |s| - ssh_pub_key = File.readlines("#{Dir.home}/.ssh/id_rsa.pub").first.strip s.inline = <<-SHELL - echo #{ssh_pub_key} >> /home/vagrant/.ssh/authorized_keys - echo #{ssh_pub_key} >> /root/.ssh/authorized_keys - curl -fsSL https://crystal-lang.org/install.sh | sudo bash curl -LO https://github.com/tsenart/vegeta/releases/download/v12.7.0/vegeta-12.7.0-linux-amd64.tar.gz