mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-10-26 08:18:11 +03:00
a82a84da8a
Add option to ignore systemd errors during deployment. Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
34 lines
798 B
HCL
34 lines
798 B
HCL
variable "nixos_system" {
|
|
type = string
|
|
description = "The nixos system to deploy"
|
|
}
|
|
|
|
variable "target_host" {
|
|
type = string
|
|
description = "DNS host to deploy to"
|
|
}
|
|
|
|
variable "target_user" {
|
|
type = string
|
|
default = "root"
|
|
description = "User to deploy as"
|
|
}
|
|
|
|
variable "target_port" {
|
|
type = number
|
|
description = "SSH port used to connect to the target_host"
|
|
default = 22
|
|
}
|
|
|
|
variable "ssh_private_key" {
|
|
type = string
|
|
description = "Content of private key used to connect to the target_host. If set to - no key is passed to openssh and ssh will back to its own configuration"
|
|
default = "-"
|
|
}
|
|
|
|
variable "ignore_systemd_errors" {
|
|
type = bool
|
|
description = "Ignore systemd errors happening during deploy"
|
|
default = false
|
|
}
|