vmimage.subr (89585511cc052643a774f64f6450d18e7dd51d4a) | vmimage.subr (3bf53c4c8f53b1f19313e9c31415c7eee830cdc0) |
---|---|
1#!/bin/sh 2# 3# $FreeBSD$ 4# 5# 6# Common functions for virtual machine image build scripts. 7# 8 --- 69 unchanged lines hidden (view full) --- 78 fi 79 80 local hostname 81 hostname="$(echo $(uname -o) | tr '[:upper:]' '[:lower:]')" 82 echo "hostname=\"${hostname}\"" >> ${DESTDIR}/etc/rc.conf 83 if [ "${VMFS}" = zfs ]; then 84 echo "zfs_enable=\"YES\"" >> ${DESTDIR}/etc/rc.conf 85 echo "zpool_reguid=\"zroot\"" >> ${DESTDIR}/etc/rc.conf | 1#!/bin/sh 2# 3# $FreeBSD$ 4# 5# 6# Common functions for virtual machine image build scripts. 7# 8 --- 69 unchanged lines hidden (view full) --- 78 fi 79 80 local hostname 81 hostname="$(echo $(uname -o) | tr '[:upper:]' '[:lower:]')" 82 echo "hostname=\"${hostname}\"" >> ${DESTDIR}/etc/rc.conf 83 if [ "${VMFS}" = zfs ]; then 84 echo "zfs_enable=\"YES\"" >> ${DESTDIR}/etc/rc.conf 85 echo "zpool_reguid=\"zroot\"" >> ${DESTDIR}/etc/rc.conf |
86 echo "zpool_upgrade=\"zroot\"" >> ${DESTDIR}/etc/rc.conf |
|
86 fi 87 88 if ! [ -z "${QEMUSTATIC}" ]; then 89 export EMULATOR=/qemu 90 cp ${QEMUSTATIC} ${DESTDIR}/${EMULATOR} 91 fi 92 93 mkdir -p ${DESTDIR}/dev --- 238 unchanged lines hidden --- | 87 fi 88 89 if ! [ -z "${QEMUSTATIC}" ]; then 90 export EMULATOR=/qemu 91 cp ${QEMUSTATIC} ${DESTDIR}/${EMULATOR} 92 fi 93 94 mkdir -p ${DESTDIR}/dev --- 238 unchanged lines hidden --- |