systemd-nspawn container

arnaud gaboury arnaud.gaboury at gmail.com
Thu Apr 23 09:34:02 UTC 2015


I am running Archlinux and want to build a systemd-nspawn conatiner
with Fedora 22 server.

Here is what I did:

---------------------------------------------------------------------------
# machinectl pull-raw --verify=no
http://ftp.halifax.rwth-aachen.de/fedora/linux/releases/test/22_Beta/Cloud/x86_64/Images/Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw.xz
$ tar ....
# systemd-nspawn -M Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw
Spawning container Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw on
/var/lib/machines/Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw.
Press ^] three times within 1s to kill container.
[root at Fedora-Cloud-Base-22_Beta-20150415 ~]# dnf -y --releasever=22
--nogpg --installroot=/var/lib/machines/MyContainer --disablerepo='*'
--enablerepo=fedora install systemd passwd dnf fedora-release-server
vim-minimal
Error: Failed to synchronize cache for repo 'fedora' from
'https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64':
Cannot prepare internal mirrorlist: Status code: 503 for
https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64
[root at Fedora-Cloud-Base-22_Beta-20150415 ~]# dnf clean metada
--releasever=22                         Remove cached data
[root at Fedora-Cloud-Base-22_Beta-20150415 ~]# dnf list sqlite --releasever=22
   Fedora 22 - x86_64
      3.5 MB/s |  41 MB     00:11
Fedora 22 - x86_64 - Test Updates
   3.7 MB/s |  14 MB     00:03
Error: Failed to synchronize cache for repo 'updates' from
'https://mirrors.fedoraproject.org/metalink?repo=updates-released-f22&arch=x86_64':
Cannot prepare internal mirrorlist: Status code: 503 for
https://mirrors.fedoraproject.org/metalink?repo=updates-released-f22&arch=x86_64
[root at Fedora-Cloud-Base-22_Beta-20150415 ~]#
--------------------------------------------------------------------------------

I can't install.

Anything I am missing?

Thank you for hints



-- 

google.com/+arnaudgabourygabx


More information about the users mailing list