Skip to content

Instantly share code, notes, and snippets.

@chhantyal
Last active April 2, 2018 18:27
Show Gist options
  • Save chhantyal/1351200d66aca47d13fcfdea103d6256 to your computer and use it in GitHub Desktop.
Save chhantyal/1351200d66aca47d13fcfdea103d6256 to your computer and use it in GitHub Desktop.
Run Cockpit Linux server manager (cockpit-project.org) on Mac OSX or Windows using Vagrant and VirtualBox
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/artful64"
config.vm.network "forwarded_port", guest: 9090, host: 9090
config.vm.provision "shell", inline: <<-SHELL
apt update
apt install -y cockpit cockpit-docker
SHELL
end
# How to install
# 1. run: $ vagrant up
# 2. open http://localhost:9090 and use username/password: vagrant/vagrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment