From 6bfc4bd78b4544f5d34fefd1e1245636f3af3807 Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev Date: Wed, 11 Mar 2020 23:34:22 +0300 Subject: [PATCH] add config directory --- images/linux/ubuntu1604.json | 8 ++++++++ images/linux/ubuntu1804.json | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/images/linux/ubuntu1604.json b/images/linux/ubuntu1604.json index 51e1bb51..ea02031d 100644 --- a/images/linux/ubuntu1604.json +++ b/images/linux/ubuntu1604.json @@ -129,6 +129,14 @@ ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" }, + { + "type": "shell", + "inline": [ + "mkdir -p /etc/skel/.config/configstore", + "echo 'export XDG_CONFIG_HOME=$HOME/.config' | tee -a /etc/skel/.bashrc" + ], + "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" + }, { "type": "shell", "scripts": [ diff --git a/images/linux/ubuntu1804.json b/images/linux/ubuntu1804.json index 33800251..420c2c0c 100644 --- a/images/linux/ubuntu1804.json +++ b/images/linux/ubuntu1804.json @@ -132,6 +132,14 @@ ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" }, + { + "type": "shell", + "inline": [ + "mkdir -p /etc/skel/.config/configstore", + "echo 'export XDG_CONFIG_HOME=$HOME/.config' | tee -a /etc/skel/.bashrc" + ], + "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" + }, { "type": "shell", "scripts": [