2018-05-08 16:25:44 +00:00
|
|
|
name = "custom-base"
|
|
|
|
description = "A base system with customizations"
|
|
|
|
version = "0.0.1"
|
|
|
|
|
|
|
|
[[packages]]
|
|
|
|
name = "bash"
|
|
|
|
version = "4.4.*"
|
|
|
|
|
|
|
|
[customizations]
|
|
|
|
hostname = "custombase"
|
|
|
|
|
|
|
|
[[customizations.sshkey]]
|
|
|
|
user = "root"
|
|
|
|
key = "A SSH KEY FOR ROOT"
|
2019-05-23 00:15:59 +00:00
|
|
|
|
|
|
|
[customizations.kernel]
|
|
|
|
append = "nosmt=force"
|
|
|
|
|
|
|
|
[[customizations.user]]
|
|
|
|
name = "admin"
|
|
|
|
description = "Administrator account"
|
|
|
|
password = "$6$CHO2$3rN8eviE2t50lmVyBYihTgVRHcaecmeCk31L..."
|
|
|
|
key = "PUBLIC SSH KEY"
|
|
|
|
home = "/srv/widget/"
|
|
|
|
shell = "/usr/bin/bash"
|
|
|
|
groups = ["widget", "users", "wheel"]
|
|
|
|
uid = 1200
|
|
|
|
gid = 1200
|
|
|
|
|
|
|
|
[[customizations.group]]
|
|
|
|
name = "widget"
|
|
|
|
gid = 1130
|
|
|
|
|
|
|
|
[customizations.timezone]
|
|
|
|
timezone = "US/Eastern"
|
|
|
|
ntpservers = ["0.north-america.pool.ntp.org", "1.north-america.pool.ntp.org"]
|
|
|
|
|
|
|
|
[customizations.locale]
|
|
|
|
languages = ["en_US.UTF-8"]
|
|
|
|
keyboard = "us"
|
|
|
|
|
|
|
|
[customizations.firewall]
|
|
|
|
ports = ["22:tcp", "80:tcp", "imap:tcp", "53:tcp", "53:udp"]
|
|
|
|
|
|
|
|
[customizations.firewall.services]
|
|
|
|
enabled = ["ftp", "ntp", "dhcp"]
|
|
|
|
disabled = ["telnet"]
|
|
|
|
|
|
|
|
[customizations.services]
|
2019-12-06 19:01:55 +00:00
|
|
|
enabled = ["sshd", "cockpit", "httpd"]
|
2019-05-23 00:15:59 +00:00
|
|
|
disabled = ["postfix", "telnetd"]
|