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