prod/nut: Add user for dustin

The `upsrw` command, which is used to set individual UPS configuration
parameters like low battery level, etc., needs a username and password
to authenticate to `upsd`.
master
Dustin 2024-01-21 15:10:56 -06:00
parent 0450617ae6
commit e25aa15eb1
1 changed files with 13 additions and 0 deletions

13
env/prod/nut.cue vendored
View File

@ -44,6 +44,19 @@ nut: schema.#Nut & {
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----
""" """
} }
dustin: {
actions: ["set", "fsd"]
instcmds: ["all"]
password: """
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBpak5ySE0rKytOYTc0cno3
RlVLS1lpaWUvSjdTN2phMTFhTk5IN0RBNGw4Cm5FU09lRE1BSm9CeGZBTFNpNUNG
YU1zUlBIZ2xXLzl0TDNhUVhqSDFsMTAKLS0tIHpnUHNSMDFDeDZHSU9abWJINUxY
MzJCMm9LcXhwREJLenVTNVluM0h5NFUKcopj6+xFuSkBW9ewKtNzgtq59oom1Fkw
srKb83kNf+LEjCpdYpqUz5LJvSLKxfpMaXVXd6iR385YqaiVr1u9TQ==
-----END AGE ENCRYPTED FILE-----
"""
}
gw1: { gw1: {
upsmon: "secondary" upsmon: "secondary"
password: """ password: """