1 from Exceptions import *
5 ********************************************************************************
7 * Welcome to PlanetLab *
8 * ~~~~~~~~~~~~~~~~~~~~ *
10 * The PlanetLab boot CD allows you to automatically install this machine as a *
11 * node within the PlanetLab overlay network. *
13 * PlanetLab is a global overlay network for developing and accessing new *
14 * network services. Our goal is to grow to 1000 geographically distributed *
15 * nodes, connected by a diverse collection of links. Toward this end, we are *
16 * putting PlanetLab nodes into edge sites, co-location and routing centers, *
17 * and homes (i.e., at the end of DSL lines and cable modems). PlanetLab is *
18 * designed to support both short-term experiments and long-running services. *
19 * Currently running services include network weather maps, network-embedded *
20 * storage, peer-to-peer networks, and content distribution networks. *
22 * Information on joining PlanetLab available at planet-lab.org/consortium/ *
24 ********************************************************************************
26 WARNING : Installing PlanetLab will remove any existing operating system and
27 data from this computer.
33 Ask the user if we really want to wipe this machine.
35 Return 1 if the user accept, 0 if the user denied, and
36 a BootManagerException if anything unexpected occurred.
39 log.write( "\n\nStep: Confirming install with user.\n" )
46 while confirmation not in ("yes","no"):
48 raw_input("Are you sure you wish to continue (yes/no):")
49 install= confirmation=="yes"
52 except KeyboardInterrupt, e:
56 log.write( "\nUser accepted install.\n" )
58 log.write( "\nUser canceled install.\n" )