Commit 429621e7 authored by Mike Hibler's avatar Mike Hibler

Update md5 hashes for images

Add a path, "if (0)"ed by default, allowing V1 CD owners to load their
disk image from us (for those with corrupt on-CD images)
parent 361158d7
......@@ -150,20 +150,29 @@ DBQueryFatal("update widearea_privkeys ".
header("Content-Type: text/plain");
echo "privkey=$newkey\n";
if ($cdvers == 1) {
echo "fdisk=image.fdisk\n";
echo "slice1_image=slice1.ndz\n";
echo "slice1_md5=cb810b43f49d15b3ac4122ff42f8925d\n";
echo "slicex_mount=/users\n";
echo "slicex_tarball=slicex.tar.gz\n";
echo "slicex_md5=1f84fbc3434d174151ac3a2b8389799a\n";
if (0) {
# one shot setup for ISI (or anyone else who has a corrupt image)
echo "fdisk=http://${WWWHOST}/images/image.fdisk\n";
echo "slice1_image=http://${WWWHOST}/images/slice1-v1.ndz\n";
echo "slice1_md5=2970e2cf045f5872c6728eeea3b51dae\n";
echo "slicex_mount=/users\n";
echo "slicex_tarball=http://${WWWHOST}/images/slicex.tar.gz\n";
echo "slicex_md5=4411f2ef89d48bf901d20a391982c3c7\n";
} else {
echo "fdisk=image.fdisk\n";
echo "slice1_image=slice1.ndz\n";
echo "slice1_md5=cb810b43f49d15b3ac4122ff42f8925d\n";
echo "slicex_mount=/users\n";
echo "slicex_tarball=slicex.tar.gz\n";
echo "slicex_md5=1f84fbc3434d174151ac3a2b8389799a\n";
}
}
else {
echo "fdisk=http://${WWWHOST}/images/image.fdisk\n";
echo "slice1_image=http://${WWWHOST}/images/slice1-v2.ndz\n";
echo "slice1_md5=5389a2687cee16ff212bbd842585a5d5\n";
echo "slice1_md5=de2989b452fc588788c2083dc48fc019\n";
echo "slicex_mount=/users\n";
echo "slicex_tarball=http://${WWWHOST}/images/slicex.tar.gz\n";
echo "slicex_md5=1f84fbc3434d174151ac3a2b8389799a\n";
}
echo "emulab_status=0\n";
Markdown is supported
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