Skip to content

Instantly share code, notes, and snippets.

View antonym's full-sized avatar
👨‍💻

Antony Messerli antonym

👨‍💻
View GitHub Profile
RECOMMENDED PC SPECS
GPU: NVIDIA GeForce® GTX 970 / AMD Radeon™ R9 290 equivalent or greater
CPU: Intel® i5-4590 / AMD FX 8350 equivalent or greater
RAM: 4GB+
Video Output: HDMI 1.4 or DisplayPort 1.2 or newer
USB Port: 1x USB 2.0 or greater port
Operating System: Windows 7 SP1 or newer
<?xml version="1.0"?>
<installation>
<primary-disk>sda</primary-disk>
<source type="url">http://pxe.xenserver.org/pxe/release/6.5.0</source>
<admin-interface name="eth0" proto="dhcp" />
</installation>
@antonym
antonym / gist:69ae2091f3947fbb3456
Created January 10, 2016 13:59
post_install.sh
#! /bin/sh
# script runs after debian installer has done its thing
chroot /target adduser --gecos "" --disabled-password steam
chroot /target usermod -a -G desktop,audio,dip,video,plugdev,netdev,bluetooth,pulse-access steam
chroot /target usermod -a -G pulse-access desktop
cat - > /target/usr/share/lightdm/lightdm.conf.d/20_steamos.conf << 'EOF'
[SeatDefaults]
pam-service=lightdm-autologin
autologin-user=steam
@antonym
antonym / gist:901ebb9a4c9889492ff1
Last active January 22, 2016 03:25
SteamOS default.preseed brewmaster
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
# Optionally specify additional locales to be generated.
d-i localechooser/supported-locales multiselect \
en_US.UTF-8, \
de_DE.UTF-8, \
fr_FR.UTF-8, \
it_IT.UTF-8, \
@antonym
antonym / gist:589a19f97ce68e2d66cf
Created December 29, 2015 16:48
Openstack Ansible - Libvirt and Xen Issues
If hw_disk_discard = ignore the following exception occurs:
2015-12-29 16:17:26.265 28669 ERROR nova.compute.manager [instance: bd2f8961-9df2-464d-b36f-426d70bc3a34] Traceback (most recent call last):
2015-12-29 16:17:26.265 28669 ERROR nova.compute.manager [instance: bd2f8961-9df2-464d-b36f-426d70bc3a34] File "/openstack/venvs/nova-12.0.2/lib/python2.7/site-packages/nova/compute/manager.py", line 2155, in _build_resources
2015-12-29 16:17:26.265 28669 ERROR nova.compute.manager [instance: bd2f8961-9df2-464d-b36f-426d70bc3a34] yield resources
2015-12-29 16:17:26.265 28669 ERROR nova.compute.manager [instance: bd2f8961-9df2-464d-b36f-426d70bc3a34] File "/openstack/venvs/nova-12.0.2/lib/python2.7/site-packages/nova/compute/manager.py", line 2009, in _build_and_run_instance
2015-12-29 16:17:26.265 28669 ERROR nova.compute.manager [instance: bd2f8961-9df2-464d-b36f-426d70bc3a34] block_device_info=block_device_info)
2015-12-29 16:17:26.265 28669 ERROR nova.compute.manager [instance: bd2f8961-9df2-464d
@antonym
antonym / #!ipxe
Created September 20, 2015 20:49
#!ipxe
dhcp
chain http://boot.rackspace.com
#cloud-config
coreos:
units:
- name: etcd.service
command: start
users:
- name: coreos
passwd: $apr1$gbIKXXMt$Q1xoaRWTnDX3JYgx4cPPT1
### Keybase proof
I hereby claim:
* I am antonym on github.
* I am antonym (https://keybase.io/antonym) on keybase.
* I have a public key whose fingerprint is 7369 3387 53AC E932 7D9C 60AC 2C75 D921 4FEF 74A8
To claim this, I am signing this object:
Subject: [PATCH] RAX - Disable dhcp_client_id in order to prevent duplicate
dhcp lease assignment
---
src/net/udp/dhcp.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c
index e6d3edd..9f85ffd 100644
--- a/src/net/udp/dhcp.c
### Keybase proof
I hereby claim:
* I am amesserl on github.
* I am antonym (https://keybase.io/antonym) on keybase.
* I have a public key whose fingerprint is 7369 3387 53AC E932 7D9C 60AC 2C75 D921 4FEF 74A8
To claim this, I am signing this object: