diff --git a/www/beginexp.php3 b/www/beginexp.php3 index 759d2ad2329012d5ce687507ef1b90abaee1a51d..773da9250a8ef4f8347e338cd295c87f2377053b 100644 --- a/www/beginexp.php3 +++ b/www/beginexp.php3 @@ -356,7 +356,7 @@ function SPITFORM($formfields, $errors) file first!
-This page will allow you to create your own custom disk image, -described by what we call an Image Descriptor. An Image Descriptor -indicates what operating system is contained in the image, what DOS -partition (or "slice" in BSD-speak) the image goes in, where the -image data file should be stored on disk, etc. Once you have created -the description, you can create the image from a node in one of your -experiments, and then load that image on other nodes (say, in a new -experiment). The image data file is in a compressed format that can be -quickly and easily loaded onto a node, or onto a group of nodes all at -the same time. - -
-The most common approach is to use the New Image Descriptor form to create -a disk image that contains a customized version of the standard Redhat -Linux partition or the FreeBSD partition. Or, you can start from -scratch and load your own operating system in any of the DOS -partitions, and then capture that partition when you are done. Either -way, all you need to do is enter the node name in the form, and the -testbed system will create the image for you automatically, notifying -you via email when it is finished. You can then use that image in -subsequent experiments by specifying the descriptor name in your NS -file with the - -tb-set-node-os directive. When the experiment is -configured, the proper image will be loaded on each node automatically by -the Testbed system. - -
-There is a -list of descriptors that -have already been created in your project (and are available for you -to use in your experiments). - -long form
-If you already have an Image Descriptor defined, and you want to
-create a new version of the image using a node that is allocated in
-one of your experiments and setup the way you want it, use the
-create_image command. Log into users and run:
-
-
-
-This will reboot your node and create the new image, writing it to the
-filename specified in the descriptor. This program is going exit
-immediately and then send you email about 5-10 minutes later, after
-the image is finished. In the meantime you should not do anything to
-your node. Log out and leave it alone. If you do not get email, its
-possible that the node froze up on reboot, which happens
-sometimes. Let us know if you do not receive notification in a
-reasonable amount of time.
-
-
- create_image -p <pid> <imageid> <node>
-If you ever want to reload a node in your experiment, either with one
-of your images or with one of the default images, you can use the
-os_load command. Log into users and run:
-
-
-
-This program will run in the foreground, waiting until the image has
-been loaded. At that point you should log in and make sure everything
-is working oaky. You might want to watch the console line as well (see
-the FAQ). If you want to load the default image, then simply run:
-
-
- os_load -p <pid> -i <imageid> <node>
-
-
diff --git a/www/newimageid_ez.php3 b/www/newimageid_ez.php3
index cd7b891b0ead2cb089b2780fe46e4405bd1de24b..e4f2edc6b630091aa426a860057cd415ddb8083b 100644
--- a/www/newimageid_ez.php3
+++ b/www/newimageid_ez.php3
@@ -74,6 +74,19 @@ function SPITFORM($formfields, $errors)
$featurelist;
global $TBDB_IMAGEID_IMAGENAMELEN, $TBDB_NODEIDLEN;
global $TBDB_OSID_VERSLEN, $TBBASE;
+
+ echo "
- os_load <node>