Page MenuHomeVyOS Platform
Feed Advanced Search

May 7 2021

dirkjanm added a comment to T3525: VMWare resume script syntax errors.

Note that adding autosudo=False to the call to cmd does not fix this issue because this parameter is never passed to popen: https://github.com/vyos/vyos-1x/blob/current/python/vyos/util.py#L143

May 7 2021, 9:59 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta
dirkjanm created T3525: VMWare resume script syntax errors.
May 7 2021, 9:52 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta

Mar 3 2020

dirkjanm added a comment to T2095: Copy command errors out.

thanks for the quick fix!

Mar 3 2020, 6:14 PM · VyOS 1.3 Equuleus (1.3.0)
dirkjanm created T2095: Copy command errors out.
Mar 3 2020, 1:14 PM · VyOS 1.3 Equuleus (1.3.0)

Mar 2 2020

dirkjanm added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

Thanks! As an additional note from my testing: the check for DHCP settings in the config always returns false, even if the interface uses DHCP. This could easily be fixed by checking if the values of the node contain DHCP, but if we skip this interface it won't be brought back up, so I believe the current solution is the best, even though the DHCP check line is now redundant (I noticed you removed the check itself).

Mar 2 2020, 4:00 PM · VyOS 1.3 Equuleus (1.3.7), test

Feb 24 2020

dirkjanm added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

FWIW, this issue is still occuring on 1.3 rolling (1.3-rolling-202002180217) for interfaces with DHCP set. While the above referenced repository is archived, the script here https://github.com/vyos/vyos-vmwaretools-scripts/blob/current/scripts/resume-vm-default.d/ether-resume.py seems to be the latest version.
For any interface with DHCP enabled, it will try to run

ip address add dhcp dev ethX

Since dhcp is not a valid address this fails and after the interface loses it's IP until dhclient is run manually or the system reboots. The script linked by @dmaasland works correctly.

Feb 24 2020, 12:53 PM · VyOS 1.3 Equuleus (1.3.7), test