Commit 5a623bc
Use XAPI to edit DNS entries within xsconsole
Instead of directly editing `/etc/resolv.conf`, use XAPI to edit it.
This fixes an issue where the changes weren't retained after a reboot because XAPI
would override the changes with what was stored in its DB. Using XAPI to edit the DNS entries
also applies the changes in XAPI's DB and so changes are kept after reboots.
Signed-off-by: BenjiReis <[email protected]>1 parent 9d4e22c commit 5a623bc
1 file changed
+10
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
539 | 537 | | |
540 | 538 | | |
541 | 539 | | |
| |||
0 commit comments