Skip to content

Instantly share code, notes, and snippets.

@stevenroh
Last active November 11, 2021 13:54
Show Gist options
  • Save stevenroh/031cc6872c0f23546d0ca35fccd8b342 to your computer and use it in GitHub Desktop.
Save stevenroh/031cc6872c0f23546d0ca35fccd8b342 to your computer and use it in GitHub Desktop.
Run pishrink on new Ubuntu VM with Vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
# config.vm.synced_folder "P:\_IMAGES_ISO", "/vagrant_iso" # Use this line to mount a local folder on the Vagrant box
config.vm.provision "shell", inline: <<-SHELL
wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh
chmod +x pishrink.sh
sudo mv pishrink.sh /usr/local/bin
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment