-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopensuse.xml
121 lines (120 loc) · 3.86 KB
/
opensuse.xml
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
118
119
120
121
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<firewall>
<enable_firewall config:type="boolean">false</enable_firewall>
<start_firewall config:type="boolean">false</start_firewall>
</firewall>
<general>
<ask-list config:type="list"/>
<mode>
<confirm config:type="boolean">false</confirm>
<second_stage config:type="boolean">false</second_stage>
<final_reboot config:type="boolean">true</final_reboot>
</mode>
<proposals config:type="list"/>
<signature-handling>
<accept_file_without_checksum config:type="boolean">true</accept_file_without_checksum>
<accept_non_trusted_gpg_key config:type="boolean">true</accept_non_trusted_gpg_key>
<accept_unknown_gpg_key config:type="boolean">true</accept_unknown_gpg_key>
<accept_unsigned_file config:type="boolean">true</accept_unsigned_file>
<accept_verification_failed config:type="boolean">false</accept_verification_failed>
<import_gpg_key config:type="boolean">true</import_gpg_key>
</signature-handling>
</general>
<networking>
<dns>
<hostname>${hostname}</hostname>
</dns>
<backend>network_manager</backend>
</networking>
<report>
<errors>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</errors>
<messages>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">10</timeout>
</messages>
<warnings>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">10</timeout>
</warnings>
<yesno_messages>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">10</timeout>
</yesno_messages>
</report>
<scripts>
<chroot-scripts config:type="list">
<script>
<chrooted config:type="boolean">true</chrooted>
<source>
echo 'vagrant ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/vagrant
chmod 0440 /etc/sudoers.d/vagrant
zypper clean --all
</source>
</script>
</chroot-scripts>
</scripts>
<services-manager>
<default_target>graphical</default_target>
<services>
<enable config:type="list">
<service>sshd</service>
</enable>
</services>
</services-manager>
<software>
<products config:type="list">
<product>${product}</product>
</products>
<packages config:type="list">
<package>autoyast2-installation</package>
<package>gdm</package>
<package>sudo</package>
<package>openssh-server</package>
<package>spice-vdagent</package>
<package>qemu-guest-agent</package>
<package>spice-webdavd</package>
</packages>
<patterns config:type="list">
<pattern>apparmor</pattern>
<pattern>enhanced_base</pattern>
<pattern>gnome</pattern>
</patterns>
</software>
<users config:type="list">
<user>
<encrypted config:type="boolean">false</encrypted>
<fullname>root</fullname>
<gid>0</gid>
<home>/root</home>
<shell>/bin/bash</shell>
<uid>0</uid>
<user_password>vagrant</user_password>
<username>root</username>
</user>
<user>
<encrypted config:type="boolean">false</encrypted>
<fullname>Vagrant</fullname>
<user_password>vagrant</user_password>
<username>vagrant</username>
<authorized_keys config:type="list">
<listentry>${trimspace(file("${path.root}/keys/vagrant.pub"))}</listentry>
</authorized_keys>
<uid>1000</uid>
<gid>1000</gid>
</user>
</users>
<groups config:type="list">
<group>
<gid>1000</gid>
<groupname>vagrant</groupname>
<userlist>vagrant</userlist>
</group>
</groups>
</profile>