Last active
March 24, 2019 06:00
-
-
Save goneri/d9af23a44349df542e832ced77f2e6bc to your computer and use it in GitHub Desktop.
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
# pkg install py27-cloud-init | |
# cd /usr/local/lib/python2.7/site-packages/cloudinit | |
# curl -L https://code.launchpad.net/~goneri/cloud-init/+git/cloud-init/+merge/364997/+preview-diff/867430/+files/preview.diff | patch -u -p2 | |
# Use the following branch: https://github.com/goneri/cloud-init/tree/freebsd_apply_network | |
# Add the blkid fake binary: | |
root@localhost:/mnt # cat /usr/local/bin/blkid | |
#!/bin/sh | |
if [ "-tLABEL=cidata" = "$1" ]; then | |
echo /dev/cd0 | |
fi | |
if [ "-tTYPE=iso9660" = "$1" ]; then | |
echo /dev/cd0 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment