From 69aad0f172b82ebab7596d97e9d992b43af70632 Mon Sep 17 00:00:00 2001 From: "Leigh B. Stoller" <stoller@flux.utah.edu> Date: Fri, 6 May 2005 21:53:03 +0000 Subject: [PATCH] A few minor tweaks for package sillyness. --- doc/setup-ops.txt | 19 ++++++++++++------- doc/setup.txt | 10 ++++++++-- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/doc/setup-ops.txt b/doc/setup-ops.txt index d32d585976..1af77605f9 100644 --- a/doc/setup-ops.txt +++ b/doc/setup-ops.txt @@ -115,13 +115,18 @@ the other defs files that came in the tarball. In the object tree you've configured (say, /usr/testbed/obj/testbed), there's an 'install' subdirectory, with a script called 'ops-install'. Just run this -script as root. It will take care of installing ports, and doing various other -configuration of FreeBSD required to make it into an ops node. The script is -designed so that you can run it as many times as you want, and it'll just skip -stuff it's already done. If it fails, send the output to Utah so that we can -fix it up. If it succeeds, follow any other instructions it may have. The -script will tell you to reboot the machine, but you can wait until after you do -the next step to do so, if you want. +script as root (note the same package directory argument as above). + + cd install + env PKG_PATH=/usr/tmp/FreeBSD-4.10-20041102 perl ops-install + +It will take care of installing any additional ports, and doing various +other configuration of FreeBSD required to make it into an ops node. The +script is designed so that you can run it as many times as you want, and +it'll just skip stuff it's already done. If it fails, send the output to +Utah so that we can fix it up. If it succeeds, follow any other +instructions it may have. The script will tell you to reboot the machine, +but you can wait until after you do the next step to do so, if you want. (You may have to set the executable bit on this script, since configure won't - I'd like to get this solved at some point.) diff --git a/doc/setup.txt b/doc/setup.txt index 55f8026016..156be85d43 100644 --- a/doc/setup.txt +++ b/doc/setup.txt @@ -91,7 +91,9 @@ set the root password use "passwd root". Again, almost the same as on ops. Download the same tarball, and follow the same pkg_add procedure, except this time, you're going to install -the emulab-boss-1.8 package instead of emulab-ops. +the emulab-boss-1.8 package instead of emulab-ops: + + env PKG_PATH=/usr/tmp/FreeBSD-4.10-20041102 pkg_add emulab-boss-1.8 Also grab a copy og our approved ports tree and install it, the same as described in setup-ops.txt. @@ -123,7 +125,11 @@ This works the same as it did on ops: ##### Step 4 - Running the boss installation script Again, this works the same as it did on ops, except that you run -install/boss-install in the object tree, instead of ops-install. +boss-install in the object tree, instead of ops-install. Just run this +script as root (note the same package directory argument as above). + + cd install + env PKG_PATH=/usr/tmp/FreeBSD-4.10-20041102 perl boss-install Like the ops-install script, boss-install sets up passwordless sudo for anyone in the wheel group. -- GitLab