if[$1=1];then
if!grep-qs'^root:'/etc/subuid\
&&!grep-qs'^root:'/etc/subgid\
&&!grep-qs'^lxd:'/etc/subuid\
&&!grep-qs'^lxd:'/etc/subuid
then
[-f/etc/subuid]||touch/etc/subuid
[-f/etc/subgid]||touch/etc/subgid
echoroot:100000:65536>>/etc/subuid
echoroot:100000:65536>>/etc/subgid
echolxd:100000:65536>>/etc/subuid
echolxd:100000:65536>>/etc/subgid
fi
fi
#%post ruby#cat <<EOF#Please remember to execute /usr/share/one/install_gems to install all the#required gems.#EOF