stacklet avatar stacklet committed 10c33e5

Ubuntu 12.10/Quantal specs and assets

Comments (0)

Files changed (23)

specs/distro/ubuntu/12-10/assets/x86-64/fstab

+_image.rootDevice_      /             _image.fsType_     defaults,errors=remount-ro 1 1

specs/distro/ubuntu/12-10/assets/x86-64/fstab.xen

+_image.rootDevice_      /             _image.fsType_     defaults,errors=remount-ro,barrier=0 1 1

specs/distro/ubuntu/12-10/assets/x86-64/hostname

+_image.hostname_
+

specs/distro/ubuntu/12-10/assets/x86-64/hvc0.conf

+# hvc0 - getty
+#
+# This service maintains a getty on hvc0 from the point the system is
+# started until it is shut down again.
+
+start on stopped rc RUNLEVEL=[2345]
+stop on runlevel [!2345]
+
+respawn
+exec /sbin/getty -8 38400 hvc0
+

specs/distro/ubuntu/12-10/assets/x86-64/interfaces

+# The loopback network interface
+auto lo
+iface lo inet loopback
+
+# The primary network interface
+auto eth0
+iface eth0 inet dhcp

specs/distro/ubuntu/12-10/assets/x86-64/properties.xml

+<stk:properties xmlns:stk="http://stacklet.com/v1">
+  <stk:property name="_image.kernel_" value="linux-image-virtual"/>
+  <stk:property name="_image.arch_" value="amd64"/>
+</stk:properties>
+

specs/distro/ubuntu/12-10/assets/x86-64/sources.list

+deb http://archive.ubuntu.com/ubuntu quantal main
+deb http://archive.ubuntu.com/ubuntu quantal-updates main
+deb http://security.ubuntu.com/ubuntu quantal-security main
+deb http://archive.ubuntu.com/ubuntu quantal universe
+deb http://archive.ubuntu.com/ubuntu quantal-updates universe
+

specs/distro/ubuntu/12-10/assets/x86/fstab

+_image.rootDevice_      /             _image.fsType_     defaults,errors=remount-ro 1 1

specs/distro/ubuntu/12-10/assets/x86/fstab.xen

+_image.rootDevice_      /             _image.fsType_     defaults,errors=remount-ro,barrier=0 1 1

specs/distro/ubuntu/12-10/assets/x86/hostname

+_image.hostname_
+

specs/distro/ubuntu/12-10/assets/x86/hvc0.conf

+# hvc0 - getty
+#
+# This service maintains a getty on hvc0 from the point the system is
+# started until it is shut down again.
+
+start on stopped rc RUNLEVEL=[2345]
+stop on runlevel [!2345]
+
+respawn
+exec /sbin/getty -8 38400 hvc0
+

specs/distro/ubuntu/12-10/assets/x86/interfaces

+# The loopback network interface
+auto lo
+iface lo inet loopback
+
+# The primary network interface
+auto eth0
+iface eth0 inet dhcp

specs/distro/ubuntu/12-10/assets/x86/properties.xml

+<stk:properties xmlns:stk="http://stacklet.com/v1">
+  <stk:property name="_image.kernel_" value="linux-image-virtual"/>
+  <stk:property name="_image.arch_" value="i386"/>
+</stk:properties>
+

specs/distro/ubuntu/12-10/assets/x86/sources.list

+deb http://archive.ubuntu.com/ubuntu quantal main
+deb http://archive.ubuntu.com/ubuntu quantal-updates main
+deb http://security.ubuntu.com/ubuntu quantal-security main
+deb http://archive.ubuntu.com/ubuntu quantal universe
+deb http://archive.ubuntu.com/ubuntu quantal-updates universe
+

specs/distro/ubuntu/12-10/desktop/assets/xstartup

+#!/bin/sh
+
+unset SESSION_MANAGER
+unset DBUS_SESSION_BUS_ADDRESS
+
+vncconfig -iconic &
+xfce4-session &
+

specs/distro/ubuntu/12-10/desktop/xfce.properties.xml

+<stk:properties xmlns:stk="http://stacklet.com/v1">
+  <stk:property name="_build.assetLoc_" value="assets"/>
+  <stk:property name="_proxy_" value=""/>
+</stk:properties>

specs/distro/ubuntu/12-10/desktop/xfce.xml

+<stk:spec xmlns:stk="http://stacklet.com/specfile/v1"
+          xmlns:xi="http://www.w3.org/2001/XInclude">
+  <imports>stacklet.task.image.core stacklet.task.distro.debu</imports>
+  <xi:include href="xfce.properties.xml"/>
+  <stk:spec>          
+    <stk:command>
+      dpkg-divert --local --rename --add /sbin/initctl; ln -s /bin/true /sbin/initctl
+    </stk:command>
+    <stk:package proxy='_proxy_'>
+      <options> </options>
+      <add>
+        accountsservice
+        gnome-keyring
+        ldm-xubuntu-theme
+        mousepad
+        vnc4server
+        ubuntu-wallpapers
+        xfce4
+        xfce4-terminal
+        xubuntu-icon-theme
+      </add>
+    </stk:package>
+    <stk:package proxy='_proxy_'>
+      <options>--no-install-recommends</options>
+      <add>
+        firefox
+        libcanberra-gtk-module
+        lightdm
+        lightdm-gtk-greeter
+      </add>
+    </stk:package>
+    <stk:command>
+      rm -f /sbin/initctl; dpkg-divert --local --rename --remove /sbin/initctl
+    </stk:command>
+    <stk:file>
+      <loc>/root/.vnc</loc>
+      <name>xstartup</name>
+      <stk:content filters='substitute_props'>
+        <loc>_build.assetLoc_</loc>
+        <name>xstartup</name>
+      </stk:content>
+    </stk:file>        
+    <stk:command>
+      chmod +x /root/.vnc/xstartup
+    </stk:command>    
+    <stk:command>
+      cp /usr/share/xgreeters/lightdm-gtk-greeter.desktop /usr/share/xgreeters/default.desktop
+    </stk:command>    
+  </stk:spec>
+</stk:spec>
+

specs/distro/ubuntu/12-10/ubuntu.12-10.x86.boot.properties.xml

+<stk:properties xmlns:stk="http://stacklet.com/v1">
+  <stk:property name="_image.fsType_" value="ext4"/>
+  <stk:property name="_image.rootDevice_" value="LABEL=root"/>
+  <stk:property name="_proxy_" value=""/>
+</stk:properties>

specs/distro/ubuntu/12-10/ubuntu.12-10.x86.boot.xml

+<?xml version="1.0"?>
+<stk:spec xmlns:stk="http://stacklet.com/specfile/v1"
+          xmlns:xi="http://www.w3.org/2001/XInclude">
+  <imports>stacklet.task.image.core stacklet.task.distro.debu</imports>
+  <xi:include href="ubuntu.12-10.x86.boot.properties.xml"/>
+  <stk:properties>
+    <name>properties.xml</name>
+  </stk:properties>
+  <stk:spec>
+    <stk:file>
+      <loc>/etc</loc>
+      <name>fstab</name>
+      <exists>replace</exists>
+      <stk:content filters='substitute_props'>
+        <loc>_build.assetLoc_</loc>
+        <name>fstab</name>
+      </stk:content>
+    </stk:file>
+    <stk:package proxy='_proxy_'>
+      <update>all</update>
+      <add>
+        grub
+      </add>
+    </stk:package>
+    <stk:command>
+      chmod a-x /etc/kernel/postinst.d/zz-update-grub
+    </stk:command>    
+    <stk:package proxy='_proxy_'>
+      <add>
+        _image.kernel_
+      </add>
+    </stk:package>
+    <stk:command>
+      chmod a+x /etc/kernel/postinst.d/zz-update-grub;
+      rm -f /boot/grub/menu.lst
+    </stk:command>    
+    <stk:kernel>
+      <name>vmlinuz-*</name>
+      <options>root=_image.rootDevice_ ro</options>
+      <grubConfig>/boot/grub/menu.lst</grubConfig>
+    </stk:kernel>
+  </stk:spec>
+</stk:spec>

specs/distro/ubuntu/12-10/ubuntu.12-10.x86.lightweight.properties.xml

+<stk:properties xmlns:stk="http://stacklet.com/v1">
+  <stk:property name="_image.fsType_" value="ext4"/>
+  <stk:property name="_image.rootDevice_" value="LABEL=root"/>
+  <stk:property name="_image.hostname_" value="localhost.localdomain"/>
+  <stk:property name="_image.timeZone_" value="Etc/UTC"/>
+  <stk:property name="_image.codename_" value="quantal"/>
+  <stk:property name="_bootstrap.url_" value="http://archive.ubuntu.com/ubuntu/pool/main/"/>
+  <stk:property name="_proxy_" value=""/>
+</stk:properties>

specs/distro/ubuntu/12-10/ubuntu.12-10.x86.lightweight.xml

+<?xml version="1.0"?>
+<stk:spec xmlns:stk="http://stacklet.com/specfile/v1"
+          xmlns:xi="http://www.w3.org/2001/XInclude">
+  <imports>stacklet.task.image.core stacklet.task.user.password stacklet.task.distro.debu</imports>
+  <xi:include href="ubuntu.12-10.x86.lightweight.properties.xml"/>
+  <stk:properties>
+    <name>properties.xml</name>
+  </stk:properties>
+  <stk:spec>
+    <stk:debootstrap proxy='_proxy_'>
+      <arch>_image.arch_</arch>
+      <codename>_image.codename_</codename>
+    </stk:debootstrap>
+    <stk:file>
+      <loc>/etc</loc>
+      <name>fstab</name>
+      <exists>replace</exists>
+      <stk:content filters='substitute_props'>
+        <loc>_build.assetLoc_</loc>
+        <name>fstab</name>
+      </stk:content>
+    </stk:file>
+    <stk:file>
+      <loc>/etc/network</loc>
+      <name>interfaces</name>
+      <exists>replace</exists>
+      <stk:content>
+        <loc>_build.assetLoc_</loc>
+        <name>interfaces</name>
+      </stk:content>
+    </stk:file>
+    <stk:file>
+      <loc>/etc/apt</loc>
+      <name>sources.list</name>
+      <exists>replace</exists>
+      <stk:content>
+        <loc>_build.assetLoc_</loc>
+        <name>sources.list</name>
+      </stk:content>
+    </stk:file>
+    <stk:file>
+      <loc>/etc</loc>
+      <name>hostname</name>
+      <exists>replace</exists>
+      <stk:content filters='substitute_props'>
+        <loc>_build.assetLoc_</loc>
+        <name>hostname</name>
+      </stk:content>
+    </stk:file>
+    <stk:password>
+      <user>root</user>
+      <password>password</password>
+    </stk:password>
+    <stk:command>
+      dpkg-divert --local --rename --add /sbin/initctl; ln -s /bin/true /sbin/initctl
+    </stk:command>
+    <stk:package proxy='_proxy_'>
+      <options>--force-yes</options>
+      <update>all</update>
+      <add>
+	acl
+        acpid
+        anacron
+        aptitude
+        at
+	avahi-daemon
+        bash-completion
+	binutils
+        bsdutils
+        console-data
+        consolekit
+        curl
+        diffutils
+        dnsutils
+        ftp
+        gettext
+        heirloom-mailx
+        hostname
+        info
+        installation-report
+        iptables
+        language-pack-en
+        locales
+        lsof
+        man
+        manpages
+        mktemp
+        nano
+        ncurses-base
+        ncurses-term
+        netcat
+        psmisc
+	rsync
+        ssh
+	ssl-cert
+        tasksel
+	time
+        traceroute
+        ubuntu-minimal
+	unzip
+        update-inetd
+        uuid-runtime
+        w3m
+        wget
+        whois
+      </add>
+    </stk:package>
+    <stk:command>
+      rm -f /sbin/initctl; dpkg-divert --local --rename --remove /sbin/initctl
+    </stk:command>
+    <stk:command>
+      update-locale LANG="en_US.UTF-8" LANGUAGE="en_US:en"
+    </stk:command>
+    <stk:command>
+      sed -i.orig 's~^exit~test -e /etc/ssh/ssh_host_dsa_key || dpkg-reconfigure openssh-server\nexit~' /etc/rc.local
+    </stk:command>
+    <stk:command>
+      echo "manual" > /etc/init/avahi-daemon.override
+    </stk:command>
+  </stk:spec>
+</stk:spec>

specs/distro/ubuntu/12-10/ubuntu.12-10.x86.xenboot.properties.xml

+<stk:properties xmlns:stk="http://stacklet.com/v1">
+  <stk:property name="_image.fsType_" value="ext4"/>
+  <stk:property name="_image.rootDevice_" value="/dev/xvda"/>
+  <stk:property name="_proxy_" value=""/>
+</stk:properties>
+

specs/distro/ubuntu/12-10/ubuntu.12-10.x86.xenboot.xml

+<?xml version="1.0"?>
+<stk:spec xmlns:stk="http://stacklet.com/specfile/v1"
+          xmlns:xi="http://www.w3.org/2001/XInclude">
+  <imports>stacklet.task.image.core stacklet.task.distro.debu</imports>
+  <xi:include href="ubuntu.12-10.x86.xenboot.properties.xml"/>
+  <stk:spec>
+    <stk:file>
+      <loc>/etc</loc>
+      <name>fstab</name>
+      <exists>replace</exists>
+      <stk:content filters='substitute_props'>
+        <loc>_build.assetLoc_</loc>
+        <name>fstab.xen</name>
+      </stk:content>
+    </stk:file>
+    <stk:file>
+      <loc>/etc/init</loc>
+      <name>hvc0.conf</name>
+      <exists>replace</exists>
+      <stk:content filters='substitute_props'>
+        <loc>_build.assetLoc_</loc>
+        <name>hvc0.conf</name>
+      </stk:content>
+    </stk:file>
+    <stk:command>
+      rm -f /boot/grub/menu.lst
+    </stk:command>    
+    <stk:kernel>
+      <name>vmlinuz-*</name>
+      <options>root=_image.rootDevice_ console=hvc0 ro</options>
+      <grubConfig>/boot/grub/menu.lst</grubConfig>
+    </stk:kernel>
+  </stk:spec>
+</stk:spec>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.