Skip to content

Commit

Permalink
afterburn: remove DO mention for initramfs network handling from afte…
Browse files Browse the repository at this point in the history
…rburn

This is used by proxmox too so it does not make sense to keep this name

Signed-off-by: Mathieu Tortuyaux <[email protected]>
  • Loading branch information
tormath1 committed Nov 8, 2024
1 parent 72cbaf1 commit 6afdb03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Unit]
Description=Flatcar DigitalOcean Network Agent
Description=Flatcar Network Agent
DefaultDependencies=false
Before=initrd.target
After=systemd-networkd.service initrd-root-fs.target
Expand Down
2 changes: 1 addition & 1 deletion dracut/30ignition/ignition-generator
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,5 @@ if [ "${nopxe}" = 1 ]; then
fi

if [[ $(cmdline_arg flatcar.oem.id) == "digitalocean" ]] || [[ $(cmdline_arg coreos.oem.id) == "digitalocean" ]] || [[ $(cmdline_arg flatcar.oem.id) == "proxmoxve" ]]; then
add_requires flatcar-digitalocean-network.service initrd.target
add_requires flatcar-network-agent.service initrd.target
fi
6 changes: 3 additions & 3 deletions dracut/30ignition/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ install() {
done

# Flatcar: add ignition-quench.service, sysroot-boot.service,
# flatcar-digitalocean-network.service, flatcar-static-network.service,
# flatcar-network-agent.service, flatcar-static-network.service,
# flatcar-metadata-hostname.service, flatcar-openstack-hostname.service
inst_simple "$moddir/ignition-quench.service" \
"$systemdsystemunitdir/ignition-quench.service"
inst_simple "$moddir/sysroot-boot.service" \
"$systemdsystemunitdir/sysroot-boot.service"
inst_simple "$moddir/flatcar-digitalocean-network.service" \
"$systemdsystemunitdir/flatcar-digitalocean-network.service"
inst_simple "$moddir/flatcar-network-agent.service" \
"$systemdsystemunitdir/flatcar-network-agent.service"
inst_simple "$moddir/flatcar-static-network.service" \
"$systemdsystemunitdir/flatcar-static-network.service"
inst_simple "$moddir/flatcar-metadata-hostname.service" \
Expand Down

0 comments on commit 6afdb03

Please sign in to comment.