Skip to content

Instantly share code, notes, and snippets.

View jonschipp's full-sized avatar

Jon Schipp jonschipp

View GitHub Profile
# Generated by binpac_quickstart
type Rip_Message = record {
command : uint8 &check(command == 0x01 || command == 0x02);
version : uint8 &check(version == 0x01 || version == 0x02);
entry : Rip_Entry &restofdata;
} &byteorder = littleendian;
type Rip_Entry = record {
af : uint16 &check(af == 0x0002 || af == 0xFFFF); # AddressFamily
@jonschipp
jonschipp / ganeti-trusty-grub-error
Created February 12, 2015 00:40
Error message of ganeti debootstrap for Trusty
$ gnt-instance add -t plain -o debootstrap+default -n kvm1.local -s 4g instance2
BLKRRPART: Invalid argument
++ '[' -n default ']'
Disk /dev/xenvg/033e6a20-7b1a-425d-a9ae-775ce87cdd03.disk0: 4096 cylinders, 64 heads, 32 sectors/track
++ VARIANT_CONFIG=/etc/ganeti/instance-debootstrap/variants/default.conf
sfdisk: ERROR: sector 0 does not have an msdos signatureult.conf ']'
/dev/xenvg/033e6a20-7b1a-425d-a9ae-775ce87cdd03.disk0: unrecognized partition table type
Old situation:
No partitions found
### Keybase proof
I hereby claim:
* I am JonSchipp on github.
* I am jonschipp (https://keybase.io/jonschipp) on keybase.
* I have a public key whose fingerprint is 0201 9B18 B233 823E 02E9 144A 778B F3F3 5D05 9307
To claim this, I am signing this object: