All pastes #779000 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-18 02:46 UTC
rendered paste body
<!--
  - Copyright (c) 2007 Dereferenced Technologies, Ltd.
  - example_appliance.xml: Example configuration outlining the configuration
  -   options of ApplianceKit appliances.
  -
  - @GPL_LICENSE@
  -->
<appliance>
        <identity>
                <uid>org.dereferenced.ApplianceKit.example</uid>
                <name>ApplianceKit Example Appliance</name>
        </identity>
        <basesys>   
                <derives>
                        <!-- <appliance>org.dereferenced.ApplianceKit.loginAppliance</appliance> -->
                        <distribution>gutsy</distribution>
                        <variant>standard</variant>
                </derives>
                <debootstrap>
                        <mirror>http://archive.ubuntu.com/ubuntu</mirror>
                </debootstrap>
        </basesys>
        <repository>http://pool.dereferenced.org/</repository>  
        <!-- additional packages to install before configuration phase -->
        <packagelist>bash openssh-server</packagelist>

        <!-- commands to run to set up the appliance. many commands are already run to optimize 
          -  the appliance for deployment in a Xen domain or VMware instance. These will be
          -  interpreted with the appliance's /bin/sh.
          -
          -  because dash is not compatible with all of bash's extensions, we divert /bin/sh, back
          -  to bash.
          -
          -  also, we set a root password at this time too.
          -->
        <commandlist phase="postinstall">
                dpkg-divert --add /bin/sh --divert-to /bin/bash
                passwd
        </commandlist>
</appliance>