summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vmd
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2019-03-07 18:54:05 +0000
committerkn <kn@openbsd.org>2019-03-07 18:54:05 +0000
commitf34f2a882f6aa01ed0079bd6e0e4425520eb0227 (patch)
treec0d0e87592eb4ada579496472e35889954ee56e8 /usr.sbin/vmd
parentupdate the error message for the interactive 'n' command to show that (diff)
downloadwireguard-openbsd-f34f2a882f6aa01ed0079bd6e0e4425520eb0227.tar.xz
wireguard-openbsd-f34f2a882f6aa01ed0079bd6e0e4425520eb0227.zip
Clarify that VM names must start with a letter
`start' requires an alphanumeric VM name, must not be a number and in fact must not start with a digit. Improve and simplify the current requirements as starting with a letter directly implies all of the above. OK mlarkin, feedback jmc
Diffstat (limited to 'usr.sbin/vmd')
-rw-r--r--usr.sbin/vmd/vm.conf.512
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/vmd/vm.conf.5 b/usr.sbin/vmd/vm.conf.5
index 697e5b1fff5..54eb9ed5efa 100644
--- a/usr.sbin/vmd/vm.conf.5
+++ b/usr.sbin/vmd/vm.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vm.conf.5,v 1.41 2018/11/21 13:48:20 jmc Exp $
+.\" $OpenBSD: vm.conf.5,v 1.42 2019/03/07 18:54:06 kn Exp $
.\"
.\" Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
.\" Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 21 2018 $
+.Dd $Mdocdate: March 7 2019 $
.Dt VM.CONF 5
.Os
.Sh NAME
@@ -127,9 +127,11 @@ section starts with a declaration of the virtual machine
.Ar name :
.Bl -tag -width Ds
.It Ic vm Ar name Brq ...
-The name can be any alphanumeric string along with '.', '-', and '_' characters.
-However, it cannot start with '.', '-', or '_'.
-Typically the name is a hostname.
+The
+.Ar name
+can only consist of alphanumeric characters, as well as '.', '-', and '_',
+and must start with a letter.
+Typically this is a hostname.
.El
.Pp
Followed by a block of parameters that is enclosed in curly brackets: