From c1f1380ec3454f5813df300b54eb5bfd2adc28c6 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Sat, 27 Jul 2019 10:46:58 -0400 Subject: [PATCH] virtual-machines: don't copy configs (not needed) --- copy-files | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/copy-files b/copy-files index df9eb71..fcbd5fc 100755 --- a/copy-files +++ b/copy-files @@ -37,25 +37,6 @@ for repo in ~/.vim/pack/*/*/* popd end | sort > vim/package_repos -# copy virtual machine configurations -function copyvmfile - set dir $argv[1] - set fna $argv[2] - - set file "$dir/$fna" - set dirn "virtual-machines/"(basename "$dir") - - if test -f "$file" - mkdir -p "$dirn" - cp "$file" "$dirn/$fna" - end -end - -for dir in /mnt/s/vm/* - copyvmfile $dir run - copyvmfile $dir config -end - # erase passwords sed -i 's/password>.*<\//password>password removed<\//g' network/icecast.xml sed -i 's/password\(\s*\)".*"/password\1"password removed"/g' network/mpd.conf