Merge pull request #2308 from ijc/avoid-orig-extension

test: rename *.orig to *.in
This commit is contained in:
Justin Cormack 2017-07-27 15:17:27 +01:00 committed by GitHub
commit 2c58fbc01a
2 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ else
DEVICE="/dev/sda"
fi
sed -e "s,@DEVICE@,${DEVICE},g" test.yml.orig > test.yml
sed -e "s,@DEVICE@,${DEVICE},g" test.yml.in > test.yml
moby build -name ${NAME} -output kernel+initrd test.yml
RESULT="$(linuxkit run -disk file=${NAME}1.img,size=512M ${NAME})"
echo "${RESULT}"