Månedsarkiv: juli 2018

Installing Vagrant and host-manager with LXC on Ubuntu 18.04

This took me quite a while and failed tries to figure out: apt-get update apt-get install lxc wget https://releases.hashicorp.com/vagrant/2.1.2/vagrant_2.1.2_x86_64.deb dpkg -i vagrant_2.1.2_x86_64.deb vagrant plugin install vagrant-lxc vagrant plugin install vagrant-hostmanager You should probably check if a newer version has been … Læs resten

Udgivet i Development, Linux, Vagrant, Workstation | Skriv en kommentar

Installing Vagrant with KVM on Ubuntu 18.04

Start by installing necessary packages: apt-get install nfs-kernel-server qemu-kvm libvirt-daemon libvirt-daemon-system virtinst bridge-utils vagrant-libvirt Create an ordinary user and add it to the sudo and the libvirt group: adduser mike usermod -G libvirt,sudo mike Now you should be able to … Læs resten

Udgivet i KVM, Links, Programmering, Vagrant | Skriv en kommentar

Inotify, Run (Python) script once it changes

This is sadly Linux Only, start by installing inotify-tools: # apt-get install inotify-tools and create the following script: #!/bin/sh clear echo Waiting for filechange … inotifywait -q -m -e close_write,moved_to –format %e/%f . | while IFS=/ read -r events file; … Læs resten

Udgivet i Linux, Vim | Skriv en kommentar