diff --git a/layers/install/mos-install b/layers/install/mos-install index 42625cd..f9c025d 100644 --- a/layers/install/mos-install +++ b/layers/install/mos-install @@ -29,7 +29,7 @@ EOF cat > /etc/systemd/system/zot.service << EOF [Unit] Description=OCI Distribution Registry -After=network.target local-fs.target +After=network-online.target local-fs.target [Service] Type=simple diff --git a/tests/livecd2/zot.service b/tests/livecd2/zot.service index df8dae6..49af2c0 100644 --- a/tests/livecd2/zot.service +++ b/tests/livecd2/zot.service @@ -1,6 +1,6 @@ [Unit] Description=OCI Distribution Registry -After=network.target local-fs.target +After=network-online.target local-fs.target [Service] Type=simple