3 # Copyright (c) 2003 Intel Corporation
6 # Copyright (c) 2004-2006 The Trustees of Princeton University
9 from Exceptions import *
13 ********************************************************************************
15 * Welcome to PlanetLab *
16 * ~~~~~~~~~~~~~~~~~~~~ *
18 * The PlanetLab boot CD allows you to automatically install this machine as a *
19 * node within the PlanetLab overlay network. *
21 * PlanetLab is a global overlay network for developing and accessing new *
22 * network services. Our goal is to grow to 1000 geographically distributed *
23 * nodes, connected by a diverse collection of links. Toward this end, we are *
24 * putting PlanetLab nodes into edge sites, co-location and routing centers, *
25 * and homes (i.e., at the end of DSL lines and cable modems). PlanetLab is *
26 * designed to support both short-term experiments and long-running services. *
27 * Currently running services include network weather maps, network-embedded *
28 * storage, peer-to-peer networks, and content distribution networks. *
30 * Information on joining PlanetLab available at planet-lab.org/consortium/ *
32 ********************************************************************************
34 WARNING : Installing PlanetLab will remove any existing operating system and
35 data from this computer.
41 Ask the user if we really want to wipe this machine.
43 Return 1 if the user accept, 0 if the user denied, and
44 a BootManagerException if anything unexpected occurred.
47 log.write( "\n\nStep: Confirming install with user.\n" )
54 while confirmation not in ("yes","no"):
56 raw_input("Are you sure you wish to continue (yes/no):")
57 install= confirmation=="yes"
60 except KeyboardInterrupt, e:
64 log.write( "\nUser accepted install.\n" )
66 log.write( "\nUser canceled install.\n" )