1 <script language="javascript">
2 function updateContinueEnabled()
4 document.fm.button_continue.disabled = false;
8 <div class="plroundedupdate">
9 <div class="plroundedwhite">
11 <h3>Download BootImage and Follow Steps Below</h3>
15 if( $can_gen_config ):
16 if (method_exists($api,"GetBootMedium")):
17 $preview=$api->GetBootMedium($node_id,"node-preview",""); ?>
18 <h4>Current node configuration contents</h4>
19 <pre><?= $preview ?></pre>
27 <?php if ( $action == "download-node-floppy-with-iso" ): ?>
28 <dd>Download the <a href="/download/<?= $generic_iso_name
29 ?>.iso">Generic ISO image</a>. Then,
30 use the 'Download' button below to get the configuration file for your
32 <?php elseif ( $action == "download-node-floppy-with-usb" ): ?>
34 href="/download/<?= $generic_iso_name ?>.usb">Generic USB image</a>. Then,
35 use the 'Download' button below to get the configuration file for your
38 <dd>Download your BootImage using 'Download' button below.</dd>
41 <dt>Step 2</dt><dd>Burn or copy the BootImage to the <a target="_blank" href="http://www.planet-lab.org/doc/guides/bootcdsetup">appropriate read-only media</a></dd>
42 <dt>Step 3</dt><dd>Install the BootImage in your machine. Turn the machine on and allow it to boot.</dd>
43 <dt>Step 4</dt><dd>Continue to the next Stage.</dd>
47 <p class='error'>WARNING: By using the download button below, we will generate
48 a new node key for your machine. Therefore, all previous configuration files or All-in-one BootImages that you have downloaded will be expired. Only continue if you will complete the installation process.</p>
51 <?= form_open("download/stage6_download/$pcu_id/$site_id/$node_id", array('style' => 'display: inline; margin: 0px')) ?>
52 <input type='hidden' name='action' value='<?= $action ?>'>
53 <input type='hidden' name='download' value='1'>
54 <input name='button_download' type='submit' value='Download <?= $format ?>' onclick='updateContinueEnabled();'>
56 <?= form_open("confirm/stage7_firstcontact/$pcu_id/$site_id/$node_id", array('name' => 'fm', 'style' => 'display: inline; margin: 0px')) ?>
57 <input name='button_continue' disabled type='submit' value='Continue ->'>
62 <p><font color=red>Configuration file cannot be created.</font>