Ubuntu Pastebin

Paste from ubuntu at Mon, 2 Feb 2015 12:03:33 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#cloud-config

locale: en_US.UTF-8
timezone: Etc/UTC

password: ubuntu
chpasswd: { expire: False }
ssh_pwauth: True
manage_etc_hosts: True

apt_upgrade: true

write_files:
 - path: /etc/init.d/autopkgtest
   permissions: '0755'
   content: |
        #!/bin/sh
        ### BEGIN INIT INFO
        # Provides: autopkgtest
        # Required-Start: $remote_fs $syslog
        # Required-Stop: $remote_fs $syslog
        # Default-Start: 2 3 4 5
        # Default-Stop:
        # Short-Description: root shell on ttyS1 for autopkgtest control
        ### END INIT INFO
        if [ "$1" = start ]; then
            (setsid sh </dev/ttyS1 >/dev/ttyS1 2>&1) &
        fi
 - path: /etc/apt/apt.conf.d/90nolanguages
   content: |
       Acquire::Languages "none";
 - path: /etc/dpkg/dpkg.cfg.d/autopkgtest
   content: |
       force-unsafe-io

runcmd:
 - [ ln, -s, ../init.d/autopkgtest , /etc/rc2.d/S99autopkgtest ]
 - [ eatmydata, apt-get, -y, purge, cloud-init ]

power_state: { mode: poweroff }
#password: ubuntu
#chpasswd: { expire: False }
Download as text