Ubuntu Pastebin

Paste from root at Thu, 9 Jun 2016 08:03:30 +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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string <%= node.hostname %>
d-i netcfg/get_domain string <%= node.domainname %>
d-i netcfg/no_default_route boolean true
# This is introduced in Trusty.
d-i live-installer/net-image string <%= repo_url("install/filesystem.squashfs") %>
d-i mirror/protocol string <%= repo_uri.scheme %>
d-i mirror/country string manual
d-i mirror/http/hostname string <%= "#{repo_uri.host}:#{repo_uri.port}" %>
d-i mirror/http/directory string <%= repo_uri.path %>
d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string ntp.ubuntu.com
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-auto-lvm/guided_size string max
d-i partman-auto/expert_recipe string \
              boot-lvm :: \
                      256 256 256 ext2 \
                              $primary{ } $bootable{ } \
                              method{ format } format{ } \
                              use_filesystem{ } filesystem{ ext2 } \
                              mountpoint{ /boot } \
                      . \
                      512 10240 -1 ext3 \
                              method{ lvm } format{ } \
                              $primary{ } $defaultignore{ } \
                              device{ /dev/sda } \
                      . \
                      4096 4096 4096    linux-swap                      \
                                $defaultignore{ } $lvmok{ }  \
                                lv_name{ swap } method{ swap } format{ }    \
                      . \
                      1024 8192 -1 ext3 \
                              $lvmok{ } lv_name{ root } \
                              method{ format } format{ } \
                              use_filesystem{ } filesystem{ ext4 } \
                              mountpoint{ / } \
                      .
d-i partman-auto/choose_recipe select boot-lvm
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman/default_filesystem string ext4
d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-md/confirm boolean true
d-i passwd/root-login boolean true
d-i passwd/make-user boolean true
d-i passwd/root-password password <%= node.root_password %>
d-i passwd/root-password-again password <%= node.root_password %>
d-i passwd/user-fullname string Ubuntu User
d-i passwd/username string ubuntu
d-i passwd/user-password password insecure
d-i passwd/user-password-again password insecure
d-i user-setup/allow-password-weak boolean true
d-i apt-setup/restricted boolean true
d-i pkgsel/include string curl openssh-server
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string /dev/sda
d-i finish-install/reboot_in_progress note
# Uncomment this for `nomodeset`.
# d-i debian-installer/add-kernel-opts string nomodeset
# Our callbacks
d-i preseed/early_command string wget <%= log_url("preseed start") %>
d-i preseed/late_command string  wget <%= log_url("preseed end") %>; \
wget <%= file_url("os_boot") %> -O /target/usr/local/bin/razor_postinstall.sh;  \
sed -i '/exit 0/d' /target/etc/rc.local;  \
echo bash /usr/local/bin/razor_postinstall.sh >> /target/etc/rc.local; \
echo exit 0 >> /target/etc/rc.local;  \
chmod +x /target/usr/local/bin/razor_postinstall.sh; \
wget <%= stage_done_url("preseed") %>
Download as text