openstack.conf (32dbc829820b1b03bf2e27d204cb3fee8d072da9) openstack.conf (30a20c89bf905f464bf62a3904e74802fb86b80d)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# Set to a list of packages to install.
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# Set to a list of packages to install.
7export VM_EXTRA_PACKAGES="net/cloud-init ports-mgmt/pkg"
7export VM_EXTRA_PACKAGES="net/cloud-init"
8
9# Set to a list of third-party software to enable in rc.conf(5).
10export VM_RC_LIST="cloudinit"
11
12vm_extra_install_base() {
13 fetch -o ${DESTDIR}/usr/sbin/waagent \
14 http://people.freebsd.org/~gjb/waagent
15 chmod +x ${DESTDIR}/usr/sbin/waagent
8
9# Set to a list of third-party software to enable in rc.conf(5).
10export VM_RC_LIST="cloudinit"
11
12vm_extra_install_base() {
13 fetch -o ${DESTDIR}/usr/sbin/waagent \
14 http://people.freebsd.org/~gjb/waagent
15 chmod +x ${DESTDIR}/usr/sbin/waagent
16 rm -f ${DESTDIR}/etc/resolv.conf
16
17 return 0
18}
19
20vm_extra_pre_umount() {
21 echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
22 echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf
23
17
18 return 0
19}
20
21vm_extra_pre_umount() {
22 echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
23 echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf
24
25 rm -f ${DESTDIR}/etc/resolv.conf
26
24 return 0
25}
27 return 0
28}