Ignore:
Timestamp:
Sep 5, 2012, 12:11:51 AM (12 years ago)
Author:
ezyang
Message:
Updated XVM instructions plus kickstarter.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/doc/install-xvm

    r1693 r2315  
    2424[XXX: there should be a way to do this with remctl too]
    2525
    26 2. Spin up
    27 ----------
     262. Configure
     27------------
    2828
    29 These instructions are mostly the same as the latter part of
    30 install-fedora, with the following changes:
     29Lest you be tempted to skimp on RAM:  you must have more than 700MBish
     30to install Fedora; 1024MB is a good amount is a good amount to give to
     31the server.  Disk space on order of 40G is probably good enough.
    3132
    32 VNC
    33 ---
     33While it is best to use the install CD from the most recent version
     34of Fedora, any kernel which supports Kickstarting can be used.  A good
     35bet is to use the Netboot CD from the latest version of Fedora that
     36XVM has (since XVM is sort of bad about keeping their boot CDs up to
     37date.)
    3438
    35 You will not need to sketchily forward VNC, because XVM has a built
    36 in VNC console.
     39You will need VNC access to perform the installation process.  If you have
     40Java, just go to the Console page for the VM; if you do not, you can use
     41the following set of incants to setup a local VNC server which can talk
     42to the console:
    3743
    38 Password
    39 --------
     44    athrun xvm invirt-vnc-client -a $AUTHTOKEN
     45    vncviewer localhost
    4046
    41 Do NOT use the scripts-root password.  Pick something else.
     47where AUTHTOKEN is the contents of the AUTHTOKEN param on the console page
     48(which would have had the Java applet.)
    4249
    43 Disks
    44 -----
     50On the bootloader screen (usually it gives you a bunch of options
     51such as "Install" or "Advanced"), press TAB and edit the kernel boot
     52line to append the text:
    4553
    46 The standard Scripts setup has separate LVM partitions for root and
    47 swap, as well as a non-LVM partition for boot.  You will not have this
    48 for XVM, so the Fedora defaults mostly work.  Don't use ext4 though.
     54    ks=http://ezyang.scripts.mit.edu/kickstart/scripts.php?type=xvm&release=$RELEASE_NO&hostname=scripts-f$RELEASE_NO-test.xvm.mit.edu
     55
     56with $RELEASE_NO interpolated properly.  You should keep around any initrd
     57lines since the kernel image still needs to know how to boot up.
     58
     59    XXX the kickstart file needs to live in a less sketchy place
     60
     61The install process will ask you for a password.  Do NOT use the
     62scripts-root password.  We have a password in
     63/mit/scripts/Private/scripts-f9-test-passwd which we tend to use.
Note: See TracChangeset for help on using the changeset viewer.