-
Notifications
You must be signed in to change notification settings - Fork 27
Structure
Pellaeon Lin edited this page Oct 7, 2013
·
5 revisions
A shell script that transforms a VM into OpenStack template and installs bsd-cloudinit
Framework based on cloudbase-init, specialized for BSD (currently only FreeBSD). Executes the first time when VM is brought up.
- Inject user SSH key into
authorized_keys - Network configuration: IP, gateway, DNS (make according changes to rc.conf)
- Set hostname (and modify rc.conf)
- Remove SSH host keys to trigger automatic key generation on next boot
- Install Python environment
- Add bsd-cloudinit to rc.local
- Remove all user
- Install & configure desired packages
- Install virtio-kmod for performance