mirror of
https://github.com/hsoft/vagrant-lxc-base-boxes
synced 2024-05-15 03:36:30 +00:00
fix integer comparison
This commit is contained in:
parent
63005dffeb
commit
61ac850ba0
|
@ -39,7 +39,7 @@ elif [ ${DISTRIBUTION} = 'fedora' -a "${RELEASE}" = 'rawhide' ]; then
|
||||||
utils.lxc.create -t fedora --\
|
utils.lxc.create -t fedora --\
|
||||||
--release ${RELEASE} \
|
--release ${RELEASE} \
|
||||||
--arch ${ARCH}
|
--arch ${ARCH}
|
||||||
elif [ ${DISTRIBUTION} = 'fedora' -a ${RELEASE} -ge '21' ]; then
|
elif [ ${DISTRIBUTION} = 'fedora' -a ${RELEASE} -ge 21 ]; then
|
||||||
ARCH=$(echo ${ARCH} | sed -e "s/38/68/" | sed -e "s/amd64/x86_64/")
|
ARCH=$(echo ${ARCH} | sed -e "s/38/68/" | sed -e "s/amd64/x86_64/")
|
||||||
utils.lxc.create -t fedora --\
|
utils.lxc.create -t fedora --\
|
||||||
--release ${RELEASE} \
|
--release ${RELEASE} \
|
||||||
|
|
Loading…
Reference in a new issue