This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib }: | |
{ | |
# Converts given object to TOML text. | |
toTOML = | |
let | |
toInlinePair = name: value: "${builtins.toJSON name} = ${toPlainTOMLValue value}"; | |
toPlainTOMLValue = value: | |
if lib.isList value then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/machine.go b/machine.go | |
index 4399029..ddb3be2 100644 | |
--- a/machine.go | |
+++ b/machine.go | |
@@ -27,7 +27,7 @@ const ( | |
ErrCouldNotConvertMachineInterface = Error("failed to convert machine interface") | |
ErrHostnameTooLong = Error("Hostname too long") | |
ErrDifferentRegisteredNamespace = Error("machine was previously registered with a different namespace") | |
- MachineGivenNameHashLength = 8 | |
+ MachineGivenNameHashLength = 0 |
OlderNewer