Disable ManageForeignRoutingPolicyRules
Signed-off-by: Ze Gan <ganze718@gmail.com>
This commit is contained in:
parent
e6bc0f3b5d
commit
ed9a91280b
@ -648,6 +648,8 @@ sudo LANG=C chroot $FILESYSTEM_ROOT systemctl disable midplane-network-npu.servi
|
||||
echo "midplane-network-dpu.service" | sudo tee -a $GENERATED_SERVICE_FILE
|
||||
sudo LANG=C chroot $FILESYSTEM_ROOT systemctl disable midplane-network-dpu.service
|
||||
|
||||
# According to the issue: https://github.com/systemd/systemd/issues/19106, To disable ManageForeignRoutingPolicyRules to avoid the ip rules being deleted by systemd-networkd
|
||||
sudo sed -i 's/#ManageForeignRoutingPolicyRules=yes/ManageForeignRoutingPolicyRules=no/g' $FILESYSTEM_ROOT/etc/systemd/networkd.conf
|
||||
|
||||
# Copy backend-acl script and service file
|
||||
sudo cp $IMAGE_CONFIGS/backend_acl/backend-acl.service $FILESYSTEM_ROOT_USR_LIB_SYSTEMD_SYSTEM/backend-acl.service
|
||||
|
Reference in New Issue
Block a user