all: add custom hostname support for provisoning

This commit is contained in:
Cuong Manh Le
2024-10-23 16:00:09 +07:00
committed by Cuong Manh Le
parent 65de7edcde
commit 9d666be5d4
5 changed files with 91 additions and 16 deletions
+5 -3
View File
@@ -29,6 +29,7 @@ var (
silent bool
cdUID string
cdOrg string
customHostname string
cdDev bool
iface string
ifaceStartStop string
@@ -45,9 +46,10 @@ var (
)
const (
cdUidFlagName = "cd"
cdOrgFlagName = "cd-org"
nextdnsFlagName = "nextdns"
cdUidFlagName = "cd"
cdOrgFlagName = "cd-org"
customHostnameFlagName = "custom-hostname"
nextdnsFlagName = "nextdns"
)
func init() {