$ git clone -n https://github.com/xcp-ng-rpms/xapi.git /var/lib/mock/v8.3-incoming-7269-18972/root/chroot_tmpdir/scmroot/xapi Cloning into '/var/lib/mock/v8.3-incoming-7269-18972/root/chroot_tmpdir/scmroot/xapi'... $ git reset --hard c276b99de0c48fb9ac71767b2cb38977d479b6c5 Downloading SOURCES/xen-api-24.14.0.tar.gz (5.3 MB) Downloading SOURCES/xen-api-24.19.2.tar.gz (6.6 MB) HEAD is now at c276b99 When reseting an host network: keep the primary address type