forked from KristianOellegaard/packer-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
preseed.cfg
117 lines (74 loc) · 3.14 KB
/
preseed.cfg
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# Installation
# ============
# Installation of Ubuntu Server 13.04 “Raring Ringtail” is automated by
# 'preseeding' configuration options with the values expected for vagrant. The
# `ubuntu-server/raring64/preseed.cfg` file defines these options.
# Clock and Timezone
# ------------------
# ### Hardware Clock
# Setting the hardware clock to UTC is considered best practice and may be
# assumed by some pacakges
d-i clock-setup/utc boolean true
# ### Timezone
# Generally the server timezone should be set to a value which is logically tied
# to the purpose of the server. The generic nature of this vagrant box lends
# itself to 'GMT' as it is the global time standard.
d-i time/zone string GMT
# Account Setup
# -------------
# ### User Credentials
# It is conventional to create a user named 'vagrant' with a password of
# 'vagrant' which vagrant will login as. Please note that these credentials are
# public knowledge and you should never have this account on a public server.
d-i passwd/user-fullname string ubuntu
d-i passwd/username string ubuntu
d-i passwd/user-password password ubuntu
d-i passwd/user-password-again password ubuntu
d-i user-setup/allow-password-weak boolean true
# ### Home Directory Encryption
# The home directory is not encrypted to aviod any issues that this may cause.
d-i user-setup/encrypt-home boolean false
# Partitioning
# ------------
# ### LVM Partitioning
# The entire disk is partitioned using LVM and any prompts that LVM partitioning
# raises are confirmed automatically.
d-i partman-auto/method string lvm
d-i partman-auto-lvm/guided_size string max
d-i partman-auto/choose_recipe select atomic
# Old LVM partitions are overwritten, pre-existing raid partitions are removed.
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
# The ubuntu installer will prompt for confirmation of the partitioning
# strategies.
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-lvm/confirm_nooverwrite boolean true
d-i partman/confirm_nooverwrite boolean true
# Packages & Updates
# ------------------
# ### No proxy
# By default there is no proxy set for the mirror.
d-i mirror/http/proxy string
# ### No automatic updates
# Automatic updates are not applied, everything is updated manually.
d-i pkgsel/update-policy select none
# ### Ubuntu server
# The standard ubuntu server
tasksel tasksel/first multiselect standard
d-i pkgsel/install-language-support boolean false
# ### OpenSSH Server
# Vagrant requires the OpenSSH server to be installed in order to be able to
# manage the VM.
d-i pkgsel/include string openssh-server
# Boot loader installation
# ------------------------
# The default boot loader (grub) is installed as the boot loader on the server
# and all prompts which it throws up are automatically confirmed.
d-i grub-installer/only_debian boolean true
# Complete installation
# ---------------------
# Ubuntu show a final message once the installation is complete. This message is
# affirmed so it doesn't block the installation process.
d-i finish-install/reboot_in_progress note