Ilia Ross
7f63875c42
Drop unnes quotemeta for params to be used
2026-05-19 11:25:34 +02:00
Ilia Ross
846bbb8252
Fix to preserve Netplan YAML when saving DNS
...
* Note: Preserve existing Netplan indentation when updating DNS settings, validate with netplan generate before applying, and surface apply errors to avoid network loss from malformed YAML.
2026-05-19 00:31:34 +02:00
Jamie Cameron
2aee714a81
Handle case where two interfaces are modified
...
https://github.com/webmin/webmin/issues/1546
2025-03-23 10:42:45 -07:00
Jamie Cameron
60a9419cc3
Use static routes to set the default gateway https://forum.virtualmin.com/t/ubuntu-and-network-configurations/126890
2024-05-25 22:18:53 -07:00
Ilia Ross
18f3e1273f
Fix to use a new param to clear cache
2023-08-27 01:27:05 +03:00
Ilia Ross
8ced23d027
Fix to use a new way for clearing hostname cache
2023-08-26 21:26:03 +03:00
Jamie Cameron
5357b084af
Deal with case where there is no address https://sourceforge.net/p/webadmin/bugs/5630/
2023-08-09 22:58:31 -07:00
Jamie Cameron
5954e40808
IPv6 auto field is called auto6
2023-06-14 16:26:57 -07:00
Jamie Cameron
47043a41c5
Bridge support in Netplan
2023-04-16 20:29:19 -07:00
Jamie Cameron
b9ed596e3e
Add another bridge parameter field
2023-04-16 11:00:59 -07:00
Jamie Cameron
e07db9663b
Work on bridge support for netplan
2023-04-16 00:01:17 -07:00
Jamie Cameron
c94e5d9aa0
Fix logic
2023-04-08 09:35:21 -07:00
Jamie Cameron
215bfe083b
Bridges can also have IP addresses https://forum.virtualmin.com/t/virtualmin-pro-issue-with-domains-on-dedicated-ip/120094/18
2023-04-07 18:15:15 -07:00
iliajie
7c301848cb
Fix setting hostname for Debian and Ubuntu using hostnamectl
2022-10-05 22:32:29 +03:00
Jamie Cameron
bd58c99d74
Finished off support for netplan
2021-09-10 18:00:16 -07:00
Jamie Cameron
44bc075f74
Parse out static routes
2021-09-02 16:26:32 -07:00
Jamie Cameron
5feabab9e6
More code cleanups
2021-05-30 15:44:30 -07:00
Jamie Cameron
6a6342e6de
Fix parsing of IPv6 addresses on their own line
2020-12-21 20:03:42 -08:00
Jamie Cameron
ad18cb2f63
Properly handle directives that have lists of hashes as values, like 'routes' https://github.com/webmin/webmin/issues/1291
2020-09-04 12:35:59 -07:00
Jamie Cameron
b593551c5f
For systems that don't need the broadcast address to be set in the config file, don't force it to be set https://github.com/webmin/webmin/pull/1278
2020-08-29 17:27:29 -07:00
Jamie Cameron
33f7ad52fd
Don't include self-referential structures in list of interfaces, as they can't be serialized
2020-08-22 17:48:27 -07:00
Jamie Cameron
abfc7620f5
Handle case where primary IP is from DHCP, but other IPs are static https://github.com/webmin/webmin/issues/1269
2020-07-29 13:29:23 -07:00
Mike Steinmetz
edb9a43a89
MM-5521 escape inputs for some error messages
2020-04-23 15:19:44 +02:00
Ilia Rostovtsev
552264b2e6
Fix to use full hostname d12c69eee6 (commitcomment-37760661)
2020-03-11 12:39:12 +03:00
Jamie Cameron
a3f5251c29
Fix parsing of YAML file and cleanup of empty files
2020-02-02 17:30:42 -08:00
Jamie Cameron
b49bd4c657
Spaces can and should appear after , https://forum.virtualmin.com/t/network-got-reset-after-first-reboot/104199/10
2020-01-20 15:51:16 -08:00
Jamie Cameron
8f851e5cc6
Handle case where YAML already contains network: block https://github.com/webmin/webmin/issues/930
2019-05-19 17:28:33 -07:00
Jamie Cameron
aeeccd7344
Fix YAML parsing and empty search list
2018-10-31 23:55:22 -07:00
Jamie Cameron
6160284f93
Completed support for preserving existing directives
2018-09-09 18:56:17 -07:00
Jamie Cameron
bbdb92debd
Attempt to preserve unknown config entries
2018-09-08 23:32:18 -07:00
Jamie Cameron
1ab259a7ee
Fix parsing of yaml continuation lines
2018-09-08 14:43:07 -07:00
Jamie Cameron
725dce5f53
Skip invalid IPv4 or v6 addresses
2018-08-29 17:22:55 -07:00
Jamie Cameron
c24070ff0c
Properly handle IPv6 adddresses with a /
2018-08-09 22:44:40 -07:00
Jamie Cameron
b824e8c98f
Preserve dhcp6 option
2018-07-29 17:13:44 -08:00
Jamie Cameron
64e7589e30
Fix misnamed dhcp4 directive https://www.virtualmin.com/node/58203
2018-07-26 16:40:50 -07:00
Jamie Cameron
e65c401998
Remove extra comma 9b01780508 (commitcomment-29784931)
2018-07-22 12:03:33 -07:00
Jamie Cameron
c90c499ff6
Addresses with colons also need quoting https://github.com/webmin/webmin/issues/930
2018-07-20 11:09:15 -07:00
Jamie Cameron
9b01780508
Support parsing and saving of quoted addresses https://github.com/webmin/webmin/issues/930
2018-07-20 11:08:25 -07:00
Jamie Cameron
8c90ed3be4
Applying will already work
2018-07-11 17:46:44 -07:00
Jamie Cameron
b956aad6d5
Support optional flag
2018-07-11 17:16:36 -07:00
Jamie Cameron
7d23bb1aff
More work on netplan support for DNS
2018-07-08 23:27:04 -07:00
Jamie Cameron
52203257be
MTU can't be edited, but MAC address can
2018-07-07 12:47:43 -07:00
Jamie Cameron
b4dbbd9827
Default gateway support
2018-07-07 12:37:09 -07:00
Jamie Cameron
263ecad1ff
More work on interface editing
2018-07-05 15:59:08 -07:00
Jamie Cameron
b4a3473de0
Interface editing now working
2018-07-05 14:54:51 -07:00
Jamie Cameron
ed88a51ed1
Code for saving interfaces
2018-06-24 22:02:15 -07:00
Jamie Cameron
4ffda8b271
Code for saving netplan interfaces
2018-06-24 20:01:14 -07:00
Jamie Cameron
fd7c208fa9
More work on netplan support
2018-06-24 19:08:06 -07:00
Jamie Cameron
c0b340f5b6
Work on reading netplan DNS configs
2018-06-17 22:52:07 -07:00
Jamie Cameron
a74db9194f
Fixes to config file parsing
2018-06-16 16:16:01 -07:00