- Start MAAS on virtue
sudo start maas-clusterd; sudo start maas-dhcpd; sudo /etc/init.d/apache2 start
- Acquire and start a node
- SSH to that node's IP (retrieved from MAAS UI)
- Run the
unmanaged-installer-network-setup.sh
script (see below) sudo ifup eth1
- Logout from SSH
- Login to SSH on 10.1.110.2
sudo ifdown eth0
sudo ifup eth0
- Logout from SSH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "Advanced Python Programming" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "IPython Talk" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
I hereby claim:
- I am sparkiegeek on github.
- I am adamcollard (https://keybase.io/adamcollard) on keybase.
- I have a public key ASApSeK1SPlRrqVAO9AwrY-sF_RYahaoOw_NoT_O--75HAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# use this script in a fresh lxd container | |
set -ex | |
tmp=$(mktemp -d) | |
cd "$tmp" | |
echo "get golang" | |
curl -O https://storage.googleapis.com/golang/go1.11.2.linux-amd64.tar.gz | |
tar -xvf go1.11.2.linux-amd64.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/fades -q | |
""" | |
Script for identifying redirects in Discourse that are already present in a redirects.yaml file | |
We also need some dependencies installed for speed, installed by fades: | |
lxml | |
""" | |
import bs4 # fades beautifulsoup4 |