- Make sure you have successfuly set up iPXE, iSCSI target (iSCSI Enterprise Target on Debian works fine for me), TFTP server and some time to spend.
- Get yourself a NTFS-formatted USB stick.
- Copy contents of installation DVD into mentioned USB stick.
- Get a copy of wimboot and load it into your TFTP server.
- Copy boot/bcd, boot/boot.sdi, sources/boot.wim and bootmgr into TFTP root as well.
- Create the bootstrap script (included bootstrap.ipxe file) and boot your
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
attrs==18.2.0 | |
certifi==2018.11.29 | |
chardet==3.0.4 | |
Click==7.0 | |
idna==2.8 | |
pysubs2==0.2.3 | |
requests==2.21.0 | |
urllib3==1.24.1 | |
Whoosh==2.7.4 |
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/bash | |
# The author of the original script is unknown to me. The first entry I can | |
# find was posted at 2010-03-21 09:50:09 on Arch Linux Forums (doesn't mean the | |
# poster is the author at all): | |
# | |
# https://bbs.archlinux.org/viewtopic.php?pid=728932#p728932 | |
# | |
# I, Yu-Jie Lin, made a few changes and additions: | |
# | |
# -p, -R, and -C |
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
Test (in-process): 46044 [ms] | |
Test (single thread): 44425 [ms] | |
Test (2 threads): 27837 [ms] | |
Test (4 threads): 49647 [ms] | |
Test (8 threads): 43913 [ms] | |
Test (16 threads): 56567 [ms] | |
Test (single proc): 49173 [ms] | |
Test (2 procs): 25880 [ms] | |
Test (4 procs): 13424 [ms] | |
Test (8 procs): 11163 [ms] |
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/bash | |
BASE_URL=http://example.com | |
SITEMAP_PATH=/sitemap.xml | |
TMP_URL_FILE=sitemap-urls.txt | |
curl -s "${BASE_URL}${SITEMAP_PATH}" | \ | |
xpath /dev/stdin '/urlset/url/loc/text()' 2>/dev/null | \ | |
sed 's~http:~\nhttp:~g' > "$TMP_URL_FILE" |
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
#!ipxe | |
echo | |
echo Booting UbuntuVM | |
set menu-default ubuntu | |
chain --replace --autofree default.pxe |
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/env python | |
import datetime | |
import re | |
class LogParser(object): | |
""" | |
""" | |
def __init__(self): | |
self._data = { |
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/bash | |
LINES=$(tput lines) | |
COLUMNS=$(tput cols) | |
#SNOWFLAKE_CHAR='*' | |
SNOWFLAKE_CHAR='❄' | |
declare -A snowflakes | |
declare -A lastflakes |