Skip to content

Commit

Permalink
Remove another symlink for resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
pkgdemon committed Jan 14, 2024
1 parent 0ee737c commit 662a453
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,12 @@ def networkmanager():
# Remove systemd-networkd and resolved services
base_dir = "/tmp/maloneyos/archlive/airootfs/"
networkd_symlink = os.path.join(base_dir, "etc/systemd/system/multi-user.target.wants/systemd-networkd.service")
resolved_symlink = os.path.join(base_dir, "etc/systemd/system/dbus-org.freedesktop.resolve1.service")
resolved_symlink = os.path.join(base_dir, "etc/systemd/system/multi-user.target.wants/systemd-resolved.service")
resolved_symlink2 = os.path.join(base_dir, "etc/systemd/system/dbus-org.freedesktop.resolve1.service")
try:
os.remove(networkd_symlink)
os.remove(resolved_symlink)
os.remove(resolved_symlink2)
print("Symlinks removed successfully.")
except OSError as e:
print(f"Error removing symlinks: {e}")
Expand Down

0 comments on commit 662a453

Please sign in to comment.