summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-15 15:54:49 +0200
committerErich Eckner <git@eckner.net>2018-10-15 15:54:49 +0200
commit21da8cf425c185a8bc7a544a785324d75fe26114 (patch)
tree1edee53829def59106f372df723a5e8d03dfb6f9
parentc7a69fbf870e0521b02d4c063e7fdcd4d3b5431b (diff)
downloaddevops-21da8cf425c185a8bc7a544a785324d75fe26114.tar.xz
update-kernel-config: remove directory from vm
-rwxr-xr-xupdate-kernel-config3
1 files changed, 3 insertions, 0 deletions
diff --git a/update-kernel-config b/update-kernel-config
index e257941..7a6b295 100755
--- a/update-kernel-config
+++ b/update-kernel-config
@@ -136,6 +136,9 @@ ssh arch32-test '
for config_name in ${config_names}; do
scp "arch32-test:$2/${config_name}" "${git_repo_path}/$1/$2/"
done
+ssh arch32-test '
+ rm -rf --one-file-system "'"$2"'"
+'
sed -i "$(
for config_name in ${config_names}; do
printf 's/'