Commit 9deae976 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Allow users to set the OSID for virtnodes; using that as a way to pick

between jails and vservers (freebsd vs linux). Temporary.
parent 904eda19
# -*- tcl -*-
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2006 University of Utah and the Flux Group.
# Copyright (c) 2000-2008 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -192,10 +192,10 @@ Node instproc updatedb {DB} {
}
} else {
# Do not allow user to set os for virt nodes at this time.
if {$enforce_user_restrictions && $isvirt} {
perror "You may not specify an OS for virtual nodes ($self)!"
return
}
#if {$enforce_user_restrictions && $isvirt} {
# perror "You may not specify an OS for virtual nodes ($self)!"
# return
#}
# Do not allow user to set os for host running virt nodes.
if {$enforce_user_restrictions && $virthost} {
perror "You may not specify an OS for hosting virtnodes ($self)!"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment