Adriaan de Groot
13d69cb813
[networkcfg] Don't mindlessly PEP8
2021-09-24 12:30:11 +02:00
Adriaan de Groot
bf60d0576b
[networkcfg] Refactor username-replacement
...
Read, then write, the NM file. Add a note about how we might
handle this better. Rename live_user() function to give it
a verb (and avoid UnboundLocal when using a variable of the same name).
2021-09-24 12:25:33 +02:00
Adriaan de Groot
678e6f6d74
[networkcfg] Be more forgiving when getting the live username
...
- This function is intended to do whatever it takes to
get the live username.
2021-09-24 12:15:20 +02:00
demmm
805fed559c
[networkcfg] use os.getlogin()
...
cala running as root returns root for live_user otherwise
2021-08-16 20:17:07 +02:00
demmm
8913317a44
[networkcfg] add setting the correct target user in copied file
...
see https://github.com/calamares/calamares/issues/1753
2021-08-16 14:06:13 +02:00
Raul Rodrigo Segura
a888156deb
copy resolvconf as link
2021-05-12 16:20:13 +02:00
Adriaan de Groot
1cd9b93a22
REUSE: Giant boilerplate cleanup
...
- point to main Calamares site in the 'part of' headers instead
of to github (this is the "this file is part of Calamares"
opening line for most files).
- remove boilerplate from all source files, CMake modules and completions,
this is the 3-paragraph summary of the GPL-3.0-or-later, which has
a meaning entirely covered by the SPDX tag.
2020-08-26 02:28:38 +02:00
Adriaan de Groot
863a4cc2a4
REUSE: (GPL-3.0-or-later) Python modules
2020-08-26 02:22:49 +02:00
Adriaan de Groot
d2dd4fd76b
Modules: Improve error reporting
...
- Remaining modules [networkcfg] [openrcdmcryptcfg] [rawfs] with
code that throws on bad configuration. Replace with meaningful
error messages, to better check cases of SyntaxError &c.
2019-04-28 14:43:39 -04:00
Adriaan de Groot
ff6a3608a6
[mount] [networkcfg] [openrcdmcryptcfg] Translate module name
2019-04-19 17:02:03 +02:00
Adriaan de Groot
762ad54344
Documentation: change http links to GitHub to https
2017-12-20 08:39:09 -05:00
Alf Gaida
748135ae12
Fixed pep8 whining in module networkcfg
...
added myself to copyright
2017-06-04 13:31:08 +02:00
Teo Mrnjavac
1d5aba5e25
Use a broad catch.
...
CAL-451 #close Should be fixed in master, please test.
2017-01-24 15:31:12 +01:00
shainer
aa0d1a62a3
Print full error when failing the copy of resolv.conf
2017-01-15 17:11:16 +00:00
Teo Mrnjavac
567ac87440
Remove target resolv.conf before proceeding.
2016-09-22 15:43:41 +02:00
Teo Mrnjavac
2e27c3b84b
Don't try to overwrite resolv.conf in no-chroot mode.
2016-08-02 13:25:33 +02:00
shainer
a45f78e9ac
networkcfg needs to copy resolv.conf in the chroot.
2016-07-10 15:29:49 +01:00
Gormogon
db7577b9f8
More PEP
2015-06-14 07:04:52 -04:00
Gormogon
8e1480431a
[PEP 263] Corrected Encoding Headers
2015-02-18 09:06:10 -05:00
Teo Mrnjavac
1b54ec1039
New networkcfg module, based on Thus.
2014-08-11 16:30:01 +02:00