forked from rosa/hakurei
cmd/app: include template name in container metadata
This helps disambiguate active mutable containers. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
+2
-2
@@ -86,9 +86,9 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
config := hst.Config{
|
config := hst.Config{
|
||||||
ID: "app.hakurei.mutable",
|
ID: "app.hakurei.mutable." + args[0],
|
||||||
Container: &hst.ContainerConfig{
|
Container: &hst.ContainerConfig{
|
||||||
Hostname: "mutable",
|
Hostname: args[0] + "-mutable",
|
||||||
Filesystem: []hst.FilesystemConfigJSON{
|
Filesystem: []hst.FilesystemConfigJSON{
|
||||||
{FilesystemConfig: &hst.FSOverlay{
|
{FilesystemConfig: &hst.FSOverlay{
|
||||||
Target: fhs.AbsRoot,
|
Target: fhs.AbsRoot,
|
||||||
|
|||||||
Reference in New Issue
Block a user