agama/rust/share/examples/post-script.jsonnet

25 lines
373 B
Jsonnet

{
user: {
fullName: 'Jane Doe',
userName: 'jane.doe',
password: 'nots3cr3t',
},
root: {
password: 'nots3cr3t',
},
product: {
id: 'Tumbleweed',
},
scripts: {
post: [
{
name: 'enable-sshd',
chroot: true,
content: |||
#!/bin/bash
systemctl enable sshd
|||,
},
],
},
}