aboutsummaryrefslogtreecommitdiff
path: root/release/tools/vmimage.subr
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-04-27 19:49:50 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-04-27 19:49:50 +0000
commit26e4122a80bbaa50a4067bd7cc2c1050ef58a318 (patch)
tree5841edabe893d0c397af4e3e0a47e13cb1ac9c8b /release/tools/vmimage.subr
parent709c1a78cf260618f484c93c17e782387a7bce4a (diff)
downloadsrc-26e4122a80bbaa50a4067bd7cc2c1050ef58a318.tar.gz
src-26e4122a80bbaa50a4067bd7cc2c1050ef58a318.zip
Fix a comment.
MFC after: 3 days Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=282112
Diffstat (limited to 'release/tools/vmimage.subr')
-rw-r--r--release/tools/vmimage.subr6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
index fa6db41d61c6..d4cfc2d19e8b 100644
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -181,8 +181,10 @@ vm_extra_install_ports() {
}
vm_extra_pre_umount() {
- # Prototype. When overridden, installs additional ports within the
- # virtual machine environment.
+ # Prototype. When overridden, performs additional tasks within the
+ # virtual machine environment prior to unmounting the filesystem.
+ # Note: When overriding this function, removing resolv.conf in the
+ # disk image must be included.
rm -f ${DESTDIR}/etc/resolv.conf
return 0