1: ####
     2: ####
     3: #### VirOS System Image Generation Configuration
     4: ####
     5: ####
     6: 
     7: ##
     8: ## global configuration
     9: ##
    10: 
    11: cachedir ~/.viros/cachedir
    12: 
    13: ##
    14: ## phase 1 configuration - synthesis
    15: ##
    16: 
    17: vsysgen_output_container_size 7G
    18: vsysgen_distro "fedora-11"
    19: vsysgen_arch "x86"
    20: vsysgen_install_boot_iso "http://mirrors.kernel.org/pub/fedora/releases/11/Fedora/i386/iso/Fedora-11-i386-netinst.iso"
    21: vsysgen_install_boot_iso_sha256sum "b61cf796fa1602ca003b340ca8073d783576507e88db3499d86640b0d20034cd"
    22: vsysgen_distro_config "F-ZyX-0.4.ks" 
    23: vsysgen_boot_cmdline "initrd=initrd.img ks=http://QRAP_HOST_IP:QRAP_HTTPD_PORT/os.cfg acpi=force" 
    24: 
    25: vsysgen_distro_config F-ZyX-0.4.ks
    26: 
    27: ##
    28: ## phase 2 configuration - mutation
    29: ##
    30: 
    31: traits splice-compose.repos::no_mutate_prepost=1:mode=install 
    32: 
    33: # this belongs here, but for now is done in G-ZyX.cleanup
    34: # todo: make a cleaner way to have that done here, probably just
    35: #       making it a standalone trait
    36: #traits splice-software::install=generic-release
    37: 
    38: traits splice-workaround-gsd-kb
    39: traits splice-workaround-gsd-ss
    40: 
    41: # needed by xmog, perhaps could be temp installed by xmog into throwaway rootfs
    42: traits splice-software::install=squashfs-tools
    43: 
    44: # for space
    45: traits splice-software::erase=isdn4k-utils
    46: traits splice-software::erase=smolt
    47: # guaranteed better than numeric is just a splash screen that
    48: # says how to install and use openoffice 
    49: traits splice-software::erase=gnumeric
    50: traits splice-software::install=patch
    51: 
    52: # disable some unneeded xdg autostart entries
    53: # (i.e. kerneloops, gnome-user-share, etc...)
    54: traits splice-xdg-autostart-lite
    55: 
    56: traits splice-genericize-gdm
    57: traits splice-ZyX.brand::distroname="F-ZyX":distroversion="0.4"
    58: traits splice-ZyX.live
    59: traits splice-zyx-live-iso-to-disk
    60: traits splice-workaround-gconf-sanity
    61: # default of 100% volume is not ideal
    62: traits splice-pulseaudio-default-quarter-volume
    63: # bootsplash de-theming
    64: traits splice-die-hotdog
    65: traits splice-turn-off-nfs
    66: traits splice-software::install=liveusb-creator
    67: traits splice-software::install=gparted
    68: traits splice-zyx-liveinstaller
    69: traits splice-ZyX.adduser::username="guest":usercomment="Guest User"
    70: traits splice-ZyX.gdm::autologin=true:user=guest
    71: traits splice-ZyX.autostartff::user=guest
    72: traits splice-F-ZyX.release
    73: traits splice-F-ZyX.cleanup
    74: 
    75: # use this if you care about booting the mutated vsi with selinux enabled
    76: #traits splice-restorecon
    77: 
    78: # use this to generate an interesting log of installed packages
    79: #traits splice-sysinfo
    80: 
    81: traits splice-compose.repos::no_mutate_prepost=1:mode=uninstall 
    82: 
    83: 
    84: ##
    85: ## phase 3 configuration - transmogrification
    86: ##
    87: 
    88: vxmogopts bootloader=isolinux
    89: vxmogopts bootloader_append="ram_overlay_size=1024 qnash"
    90: 
    91: 
    92: # experiment to get autoticker up 2 rows
    93: vxmogopts bootloader_isolinux_menu_margin=20
    94: vxmogopts bootloader_isolinux_menu_width=78
    95: vxmogopts bootloader_isolinux_menu_rows=6
    96: vxmogopts bootloader_isolinux_menu_tabmsgrow=12
    97: vxmogopts bootloader_isolinux_menu_cmdlinerow=12
    98: vxmogopts bootloader_isolinux_menu_endrow=18
    99: vxmogopts bootloader_isolinux_menu_timeoutrow=14
   100: # verified that this is the now upstream solution for toprow (was startrow)
   101: vxmogopts bootloader_isolinux_menu_vshift=3
   102: 
   103: 
   104: vxmogopts fs_label=F-ZyX
   105: vxmogopts selinux=1
   106: vxmogopts prelink=1
   107: vxmogopts md5verify=1
   108: