From 05ded55ddaaab366b27e9c5f168b23f983327917 Mon Sep 17 00:00:00 2001 From: Christian Elberfeld <elberfeld@web.de> Date: Wed, 2 Nov 2022 23:57:33 +0100 Subject: [PATCH] alter vagrant stuff raus --- VagrantDestroy.bat | 6 ---- VagrantPutty.bat | 18 ----------- Vagrantfile | 81 ---------------------------------------------- 3 files changed, 105 deletions(-) delete mode 100644 VagrantDestroy.bat delete mode 100644 VagrantPutty.bat delete mode 100644 Vagrantfile diff --git a/VagrantDestroy.bat b/VagrantDestroy.bat deleted file mode 100644 index aaf3ca8f..00000000 --- a/VagrantDestroy.bat +++ /dev/null @@ -1,6 +0,0 @@ - -srem Vagrant VM Starten -vagrant destroy - -pause - diff --git a/VagrantPutty.bat b/VagrantPutty.bat deleted file mode 100644 index 14ae2c1d..00000000 --- a/VagrantPutty.bat +++ /dev/null @@ -1,18 +0,0 @@ - -rem Vagrant VM für Ansible Arbeitsumgebung -rem Unter Windows müssen die folgenden Git-Einstellungen -rem gesetzt werden damit die Dateien lokal mit LF als Dateiendungen -rem vorliegen: -rem $ git config core.eol lf -rem $ git config core.autocrlf input - -rem Vagrant VM Starten -vagrant up - -rem SSH Verbindung über PuTTY mit https://github.com/nickryand/vagrant-multi-putty -vagrant putty -- -l vagrant -pw vagrant - -pause - -rem Vagrant VM Stoppen -vagrant halt diff --git a/Vagrantfile b/Vagrantfile deleted file mode 100644 index aac84633..00000000 --- a/Vagrantfile +++ /dev/null @@ -1,81 +0,0 @@ - -Vagrant.configure(2) do |config| - - # Debian Jessie + VirtualBox Addons - config.vm.box = "debian/contrib-stretch64" - - # Hostname - config.vm.hostname = "box" - - # Customize - config.vm.provider "virtualbox" do |vb| - vb.memory = "512" - vb.cpus = 2 - vb.linked_clone = true - end - - # Enable Agent forwarding - config.ssh.forward_agent = true - - config.vm.provision "shell", inline: <<-SHELL - - echo "######################################################" - echo "Setup Debian Testing ..." - echo "######################################################" - - echo "deb http://httpredir.debian.org/debian testing main contrib non-free" > /etc/apt/sources.list - echo "deb http://security.debian.org/ testing/updates main contrib non-free" >> /etc/apt/sources.list - - sudo apt-get update - - # Avoid service sestart question if libc is upgraded - echo 'libc6 libraries/restart-without-asking boolean true' | sudo debconf-set-selections - - echo "######################################################" - echo "Installing Vim ..." - echo "######################################################" - - sudo apt-get install -y vim - - echo "######################################################" - echo "Installing Git ..." - echo "######################################################" - - sudo apt-get install -y git - - echo "######################################################" - echo "Installing Fish Shell ..." - echo "######################################################" - - sudo apt-get install -y fish - - # Set FiSH Shell as default Login Shell - sudo chsh -s /usr/bin/fish vagrant - - # Create a FiSH base config - mkdir -p -v /home/vagrant/.config/fish/ - curl https://raw.githubusercontent.com/elberfeld/fish/master/config.fish > /home/vagrant/.config/fish/config.fish - chown vagrant:vagrant -v -R /home/vagrant/.config - - # Change to /vagrant/ directory on Login - echo "cd /vagrant/" >> /home/vagrant/.config/fish/config.fish - - echo "######################################################" - echo "Installing Ansible ..." - echo "######################################################" - - sudo apt-get install -y python python-pip python-dev libffi6 libffi-dev libssl-dev sshpass - sudo pip install ansible markupsafe netaddr - - echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config - - echo "[defaults]" > /home/vagrant/.ansible.cfg - echo "inventory = /vagrant/hosts" >> /home/vagrant/.ansible.cfg - - echo "######################################################" - echo "DONE" - echo "######################################################" - - SHELL - -end -- GitLab