Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

These are my (bdwheele) brainstorming notes for the VM image...I'm still testing this.

VM Configuration

  • 1 Core
  • 2G 3G RAM
  • 500G System Disk
  • Using VirtualBox as host

...

  • Centos 6.4 x86-64
  • English language and keyboard
  • hostname: avalon-vm.localdomainlocalhost
    • if it is localhost it should set it to the dhcp hostname provided.
  • eth0:
    • active on boot
    • ipv4 dhcp, dchp client id = avalon-vm
  • set timezone to america/indiana/indianapolis, clock uses utc
  • root password is 'changeme'
  • replace existing linux system(s), default partitioning
  • desktop install
  • yum update after install.

Avalon Install / Testing

  • TBD, but will use the 'standard' installation method

VM Image Prep

  • Enable Configuration via FirstBoot
    • Firstboot will run in system reconfiguration mode
      • root password, keyboard, non-admin user re-configuration
    • Additional screens added to firstboot by creating modules in /usr/share/firstboot/modules
      • avalon EULA screen
        • EULA text in /usr/share/avalon/EULA
      • FFMPEG build screen
        •  FFMPEG build script in /usr/share/avalon/buildFFMPEG
      • Other screens to reconfigure other passwords – maybe randomize them and write the results in /root/avalon.passwords?
        • fcrepo in mysql & /usr/local/fedora somewhere
        • rails in mysql and somewhere else (config/authentication.yml)
        • fedoraAdmin password, (fedora.yml)
      • create first avalon user
  • Image Delivery Prep
    • OS Tasks
      • rm /root/.bash_history
      • touch /etc/reconfigSys
      • rm /etc/sysconfig/firstboot
      • chkconfig firstboot on
      • rpm --erase --nodeps ffmpeg
      • shutdown
    • VM Tasks
      • Export Appliance
        • OVA 0.9 legacy for compatibility
        • manifest file for checksums

VM End-User Experience

  • VM Setup
    • User downloads VM Image
    • Imports image into VirtualBox or any OVF-compliant virtualization
  • VM Startup
    • VM Wakes up and boots into graphical mode
    • before most services start up, first boot comes up
      • User is taken through the 'standard' Centos/Redhat firstboot pages
      • Plus the Avalon ones
        • avalon EULA
           Image Removed
        • ffmpeg page actually builds ffmpeg binary
          Image Removed
          Image Removed
    • system completes boot
      • avalon services are started
      • user login gui is displayed
  • TA-DA!

 

VM Image Prep

  • Install avalon-vm-1.0-1.noarch.rpm to install the firstboot changes and tools
  • run /usr/share/avalon/dist-prep
  • shutdown VM
  • Export Appliance
    • Use a 0.9 version and a MANIFEST for compatibility
  • copy the .ova file to the distribution point