mk-vmimage.sh (1d76e25a67dc33464428bba05d28ac98a71ea47c) | mk-vmimage.sh (1ca8842f3ad9725863c9affc044d1974a51818a9) |
---|---|
1#!/bin/sh 2#- 3# Copyright (c) 2014, 2015 The FreeBSD Foundation 4# All rights reserved. 5# 6# This software was developed by Glen Barber under sponsorship 7# from the FreeBSD Foundation. 8# --- 79 unchanged lines hidden (view full) --- 88 fi 89 90 . "${VMBUILDCONF}" 91 92 if [ ! -z "${VMCONFIG}" ] && [ ! -c "${VMCONFIG}" ]; then 93 . "${VMCONFIG}" 94 fi 95 | 1#!/bin/sh 2#- 3# Copyright (c) 2014, 2015 The FreeBSD Foundation 4# All rights reserved. 5# 6# This software was developed by Glen Barber under sponsorship 7# from the FreeBSD Foundation. 8# --- 79 unchanged lines hidden (view full) --- 88 fi 89 90 . "${VMBUILDCONF}" 91 92 if [ ! -z "${VMCONFIG}" ] && [ ! -c "${VMCONFIG}" ]; then 93 . "${VMCONFIG}" 94 fi 95 |
96 ROOTLABEL="gpt" 97 | |
98 vm_create_base 99 vm_install_base 100 vm_extra_install_base 101 vm_extra_install_packages 102 vm_extra_install_ports 103 vm_extra_enable_services 104 vm_extra_pre_umount 105 vm_extra_pkg_rmcache 106 cleanup 107 vm_copy_base 108 vm_create_disk || return 0 109 vm_extra_create_disk 110 111 return 0 112} 113 114main "$@" | 96 vm_create_base 97 vm_install_base 98 vm_extra_install_base 99 vm_extra_install_packages 100 vm_extra_install_ports 101 vm_extra_enable_services 102 vm_extra_pre_umount 103 vm_extra_pkg_rmcache 104 cleanup 105 vm_copy_base 106 vm_create_disk || return 0 107 vm_extra_create_disk 108 109 return 0 110} 111 112main "$@" |