You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

  1. User clicks "Create Image"
  2. PHP frontend code inserts the new image/imagerevision and a new request into the database
    • request state is "image"
    • image information is for the new image, not the image used as the base image
  3. vcld processes the request
    • a new process is forked
    • a new image.pm object is created
    • image.pm::process() is called
  1. OS::capture_prepare()
    • logoff user
    • remove user account
    • make sure DHCP is enabled on the private NIC
    • disable the pagefile
      • set sshd service startup to auto
      • reboot
      • delete the pagefile
    • configure auto admin login to login as root
    • copy Sysprep, drivers, and scripts to the computer
    • set sshd service startup to manual so that it doesn't immediately start up when the computer the image is loaded on boots up
  2. provisioner::capture_prepare()
    • write the currentimage.txt file on the computer
    • update nodetype.tab with the new image name
    • create a .tmpl file for the new image
    • run nodeset <node> image to instruct xCAT to save an image the next time the computer boots
  3. OS::capture_start()
    • run sysprep.cmd
      • cleans various files from the hard drive
      • copies VCLprepare.cmd script to group policy logon scripts directory
      • copies VCLcleanup.cmd script to group policy logoff scripts directory
  4. provisioner::capture_monitor()
  • No labels