-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopensuse.json
More file actions
63 lines (63 loc) · 1.31 KB
/
opensuse.json
File metadata and controls
63 lines (63 loc) · 1.31 KB
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
{
"product": {
"id": ${jsonencode(product)}
},
"hostname": {
"static": ${jsonencode(hostname)}
},
"root": {
"sshPublicKey": ${jsonencode(file("${path.root}/keys/vagrant.pub"))},
"password": "vagrant",
"hashedPassword": false
},
"user": {
"fullName": "Vagrant",
"userName": "vagrant",
"password": "vagrant",
"hashedPassword": false
},
"localization": {
"language": "en_US.UTF-8",
"keyboard": "us",
"timezone": "UTC"
},
"software": {
"patterns": {
"add": ["gnome"]
},
"packages": ["spice-vdagent", "qemu-guest-agent", "spice-webdavd"]
},
"storage": {
"drives": [
{
"partitions": [
{
"generate": "default"
}
]
}
]
},
"questions": {
"policy": "auto"
},
"files": [
{
"destination": "/home/vagrant/.ssh/authorized_keys",
"permissions": "0600",
"user": "vagrant",
"group": "vagrant",
"content": ${jsonencode(file("${path.root}/keys/vagrant.pub"))}
},
{
"destination": "/etc/sudoers.d/vagrant",
"permissions": "0440",
"content": "vagrant ALL=(ALL:ALL) NOPASSWD: ALL"
},
{
"destination": "/etc/ssh/sshd_config.d/rootlogin.conf",
"permissions": "0644",
"content": "PermitRootLogin yes"
}
]
}