- https://gist.github.com/christopher-hopper/9755310
- http://dantwining.co.uk/2011/07/18/how-to-shrink-a-dynamically-expanding-guest-virtualbox-image/
Some assumptions
| /*** | |
| * Common tweaks | |
| ***/ | |
| /* Using the Github Theme with a few tweaks */ | |
| .theme-dark { | |
| --background-primary: #1f1f1f; | |
| } | |
| /* display headings with normal font size */ |
| #!/usr/bin/python | |
| import os | |
| import json | |
| def update(module, state, name, auto, hotplug, iface_type, addr_family, address, | |
| netmask, nameservers, gateway, provider): | |
| try: | |
| fd = open('/etc/network/interfaces') |