This file contains 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
# -*- encoding: utf-8 -*- | |
import ovh | |
# Instantiate. Visit https://api.ovh.com/createToken/?GET=/me | |
# to get your credentials | |
client = ovh.Client( | |
endpoint='ovh-eu', | |
application_key='<your application key>', | |
application_secret='<your application secret>', |
This file contains 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
# Start with the setup normally, then select "Shell" at the partitioning step. | |
# Check device names | |
camcontrol devlist | |
# Create a gpt and a bootstrap partition | |
gpart destroy -F ada0 | |
gpart create -s gpt ada0 | |
gpart add -a 4k -t freebsd-boot -s 64k ada0 | |
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 |