Skip to content

Instantly share code, notes, and snippets.

View chenhan1218's full-sized avatar

Chen-Han (Stanley) Hsiao chenhan1218

View GitHub Profile
@chenhan1218
chenhan1218 / README.md
Created June 4, 2018 09:51 — forked from smoser/README.md
Curtin install in a vm with tools/launch

curtin install with launch

Curtin has a test suite named vmtest. It has loads of configs for installation that put curtin through a battery. As of this writing it runs 192 installations on amd64 covering all supported ubuntu releases. It runs nightly under jenkins. See example results in the curtin-vmtest-devel-amd64 job.

If you're interested just a general use of curtin without starting a VM, see another article 'Curtin Development on uvt-kvm'.

@chenhan1218
chenhan1218 / develop-in-lxc.py
Created March 18, 2016 03:09 — forked from Roadmaster/develop-in-lxc.py
develop-in-lxc.py
#!/usr/bin/env python3
#
# Copyright 2015 Canonical Ltd.
#
# Authors:
# Daniel Manrique <[email protected]>
#
# develop-in-lxc is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3, as
# published by the Free Software Foundation.
@chenhan1218
chenhan1218 / grub.cfg
Last active August 29, 2015 14:17 — forked from fourdollars/grub.cfg
function load_efi_video {
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
}
function load_video {
set gfxmode=auto
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import mechanize
from colorama import init
from colorama import Fore, Back, Style
init()
def main():