Skip to content

Deployment of Linux VM fails - Package iptables-persistent cannot be found. #1

Description

@cloudchristoph

Deployment of Linux VM fails - Package iptables-persistent cannot be found.

VM has reported a failure when processing extension 'CustomScript' (publisher 'Microsoft.Azure.Extensions' and type 'CustomScript'). Error message: "Enable failed: failed to execute command: command terminated with exit status=2
[stdout]
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv6.conf.all.accept_redirects = 0
Installing IPTables-Persistent
Reading package lists...
Building dependency tree...
Reading state information...

[stderr]
E: Unable to locate package iptables-persistent
linuxrouter.sh: 24: linuxrouter.sh: cannot create /etc/iptables/rules.v4: Directory nonexistent
". More information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot. (Code: VMExtensionProvisioningError)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions