Remove extra parameter for ubuntu lxc-template function
This commit is contained in:
parent
72b06dfa69
commit
2df893e4f4
1 changed files with 1 additions and 2 deletions
|
@ -202,7 +202,6 @@ copy_configuration()
|
||||||
rootfs=$2
|
rootfs=$2
|
||||||
name=$3
|
name=$3
|
||||||
arch=$4
|
arch=$4
|
||||||
release=$5
|
|
||||||
|
|
||||||
if [ $arch = "i386" ]; then
|
if [ $arch = "i386" ]; then
|
||||||
arch="i686"
|
arch="i686"
|
||||||
|
@ -551,7 +550,7 @@ if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
copy_configuration $path $rootfs $name $arch $release
|
copy_configuration $path $rootfs $name $arch
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "failed write configuration file"
|
echo "failed write configuration file"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue