Add root config for gondor

This commit is contained in:
Marko Korhonen 2020-10-25 12:27:35 +02:00
parent d9f90d4880
commit 94019c6d51
2 changed files with 10 additions and 29 deletions

View file

@ -172,17 +172,6 @@ profiles:
include: include:
- Locale - Locale
- Pacman - Pacman
Rivendell:
include:
- Locale
- Pacman
dotfiles:
- f_getty.conf
- f_vconsole.conf
- f_mkinitcpio.conf
- f_bluetooth.conf
- f_60-uinput-permissions.rules
- f_sshd_config
Moria: Moria:
include: include:
- Locale - Locale
@ -190,11 +179,13 @@ profiles:
dotfiles: dotfiles:
- f_sshd_config - f_sshd_config
- f_99-sysctl.conf - f_99-sysctl.conf
- f_ipmi-static.service Gondor:
- f_ipmi-temp.service include:
- f_ipmi-temp.timer - Locale
- f_ipmi-fans.service - Pacman
- f_ipmi-fans.timer dotfiles:
- f_sshd_config
- f_99-sysctl.conf
localhost: localhost:
include: include:
- Locale - Locale

View file

@ -19,25 +19,15 @@ Host aur
User aur User aur
host moria host moria
{%@@ if profile == "Rivendell" @@%}
HostName moria.reekynet.lan
port 22
{%@@ else @@%}
HostName reekynet.com HostName reekynet.com
port 221 port 221
{%@@ endif @@%}
User balrog User balrog
ForwardAgent yes ForwardAgent yes
host rivendell host gondor
{%@@ if profile == "Moria" @@%} hostname gondor.reekynet.com
HostName rivendell.reekynet.lan
port 22 port 22
{%@@ else @@%} User reekymarko
HostName reekynet.com
port 222
{%@@ endif @@%}
User gimli
ForwardAgent yes ForwardAgent yes
host mirkwood host mirkwood