Last change
on this file since 102403 was 102403, checked in by vboxsync, 10 months ago |
Main/Unattended: Added proxy and installing Guest Additions support to ubuntu_autoinstall_user. bugref:10551
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.6 KB
|
Line | |
---|
1 | #cloud-config
|
---|
2 | autoinstall:
|
---|
3 | # version is an Autoinstall required field.
|
---|
4 | version: 1
|
---|
5 |
|
---|
6 | locale: @@VBOX_INSERT_LOCALE@@
|
---|
7 | keyboard:
|
---|
8 | layout: us
|
---|
9 |
|
---|
10 | identity:
|
---|
11 | realname: '@@VBOX_INSERT_USER_FULL_NAME@@'
|
---|
12 | username: '@@VBOX_INSERT_USER_LOGIN@@'
|
---|
13 | password: '@@VBOX_INSERT_USER_PASSWORD_SHACRYPT512@@'
|
---|
14 | hostname: '@@VBOX_INSERT_HOSTNAME_WITHOUT_DOMAIN@@'
|
---|
15 |
|
---|
16 | shutdown: reboot
|
---|
17 |
|
---|
18 | storage:
|
---|
19 | layout:
|
---|
20 | name: direct
|
---|
21 | swap:
|
---|
22 | size: 0
|
---|
23 |
|
---|
24 | @@VBOX_COND_HAS_PROXY@@
|
---|
25 | proxy: @@VBOX_INSERT_PROXY@@
|
---|
26 | @@VBOX_COND_END@@
|
---|
27 |
|
---|
28 | @@VBOX_COND_IS_INSTALLING_ADDITIONS@@
|
---|
29 | # Stuff we need to build Guest Additions modules.
|
---|
30 | packages:
|
---|
31 | - build-essential
|
---|
32 | - linux-headers-generic
|
---|
33 | - perl
|
---|
34 | - make
|
---|
35 | @@VBOX_COND_END@@
|
---|
36 |
|
---|
37 | # Custom Commands.
|
---|
38 | late-commands:
|
---|
39 | - cp /cdrom/vboxpostinstall.sh /target/root/vboxpostinstall.sh
|
---|
40 | - chmod +x /target/root/vboxpostinstall.sh
|
---|
41 | - curtin in-target --target=/target -- /bin/bash /root/vboxpostinstall.sh --direct
|
---|
42 |
|
---|
43 | # Additional cloud-init configuration affecting the target system can be supplied
|
---|
44 | # underneath a user-data section inside of autoinstall.
|
---|
45 | user-data:
|
---|
46 |
|
---|
47 | users:
|
---|
48 | - name: root
|
---|
49 | primary_group: root
|
---|
50 | groups: sudo
|
---|
51 | lock-passwd: false
|
---|
52 | passwd: '@@VBOX_INSERT_USER_PASSWORD_SHACRYPT512@@'
|
---|
53 | uid: 0
|
---|
54 |
|
---|
55 | @@VBOX_COND_IS_RTC_USING_UTC@@
|
---|
56 | timezone: Etc/UTC
|
---|
57 | @@VBOX_COND_END@@
|
---|
58 | @@VBOX_COND_IS_NOT_RTC_USING_UTC@@
|
---|
59 | timezone: @@VBOX_INSERT_TIME_ZONE_UX@@
|
---|
60 | @@VBOX_COND_END@@
|
---|
61 |
|
---|
62 | ntp:
|
---|
63 | @@VBOX_COND_IS_INSTALLING_ADDITIONS@@
|
---|
64 | enabled: false
|
---|
65 | @@VBOX_COND_END@@
|
---|
66 | @@VBOX_COND_IS_NOT_INSTALLING_ADDITIONS@@
|
---|
67 | enabled: true
|
---|
68 | @@VBOX_COND_END@@
|
---|
Note:
See
TracBrowser
for help on using the repository browser.