Dennis Camera
|
b65ceba569
|
[__hostame] Resolve shellcheck errors
|
2019-10-25 02:16:43 +02:00 |
|
Dennis Camera
|
d4313c7501
|
[__hostname] Fix checking of maximum hostname length against sysconf(3)
|
2019-10-25 01:41:26 +02:00 |
|
Dennis Camera
|
629d443f5a
|
[__hostname] Fix "command not found" errors with old Bash
|
2019-10-25 01:40:48 +02:00 |
|
Dennis Camera
|
c3b066c147
|
[__hostname] Check hostname length if getconf(1) is available
|
2019-10-24 19:44:51 +02:00 |
|
Dennis Camera
|
cee553a6dd
|
[__hostname] Improve systemd hostname setting
This means we write to /etc/hostname before running hostnamectl, so that
it can overwrite the file if it wants to.
|
2019-10-12 18:49:31 +02:00 |
|
Dennis Camera
|
30c7d153e8
|
[__hostname] Only write to distro specific file when hostnamectl is missing
|
2019-10-12 18:47:27 +02:00 |
|
Dennis Camera
|
c11e757dfa
|
[__hostname] Add support for Gentoo
|
2019-10-07 12:06:24 +02:00 |
|
Dennis Camera
|
064e992a7a
|
[__hostname] Support openSUSE and replace printf with echo
|
2019-10-06 21:03:49 +02:00 |
|
Dennis Camera
|
da1d70e16a
|
[__hostname] Also quote hostname in FreeBSD rc.conf
|
2019-10-06 18:43:27 +02:00 |
|
Dennis Camera
|
6e1a105c22
|
[__hostname] Lint
|
2019-10-06 18:37:40 +02:00 |
|
Dennis Camera
|
cbb108d61c
|
[__hostname] Copy FQDN-logic to gencode-remote
Otherwise, the code-remote gets run on the remote every time.
|
2019-10-06 18:35:29 +02:00 |
|
Dennis Camera
|
3e7cf68de5
|
[__hostname] Source sysconfig file instead of processing through AWK
This way quotes and expansions will be handled correctly.
|
2019-10-06 18:14:35 +02:00 |
|
Dennis Camera
|
74568e8a0a
|
[__hostname] Use FQDN as hostname on RedHat derivatives and BSDs
|
2019-10-06 18:02:58 +02:00 |
|
Dennis Camera
|
7bf203509b
|
[__hostname] Use __key_value exact_delimiter for shell-like files
|
2019-10-06 18:02:13 +02:00 |
|
Dennis Camera
|
77210c349e
|
[__hostname] Extend os switches with RedHat-derivatives (CentOS, Fedora, RedHat, Scientific)
|
2019-10-06 18:01:36 +02:00 |
|
Dennis Camera
|
d43eb5b22f
|
[__hostname] Add support for NetBSD
|
2019-10-06 14:02:13 +02:00 |
|
Dennis Camera
|
56c654808d
|
[__hostname] Unify persistent hostname explorers
|
2019-10-05 18:27:48 +02:00 |
|
Dennis Camera
|
ee440ec619
|
[__hostname] Compress state check
|
2019-10-03 21:41:51 +02:00 |
|
Dennis Camera
|
81ba849af8
|
Move __hostname hostname explorer to global scope
|
2019-10-03 19:19:06 +02:00 |
|
Dennis Camera
|
abc765bd99
|
[__hostname/explorer/hostname] Darwin: Always fall back to hostname if scutil is missing or fails
|
2019-10-03 18:23:17 +02:00 |
|
Dennis Camera
|
2804a8bae6
|
[__hostname] Add support for macosx
|
2019-10-03 18:21:35 +02:00 |
|
Dennis Camera
|
3c9eb7bce7
|
[__hostname] Support all systemd OSes and prefer hostnamectl
|
2019-10-03 18:21:35 +02:00 |
|
Nico Schottelius
|
f4db6e908e
|
[hostname] add alpine support
|
2019-04-15 18:48:49 +02:00 |
|
Darko Poljak
|
6895ad0207
|
Fix post-shellcheck bug.
|
2018-10-24 18:26:33 +02:00 |
|
Darko Poljak
|
02f39bcf6f
|
Fix SC2028.
|
2018-10-05 15:08:25 +02:00 |
|
Darko Poljak
|
28889ef38a
|
Disable SC2028 where intended.
|
2018-10-05 12:02:10 +02:00 |
|
Darko Poljak
|
a601fa91d9
|
Fix SC2116.
|
2018-10-05 11:34:10 +02:00 |
|
Jonas Weber
|
6326eae1bb
|
Fix SC2166 on all manfest/gencode/explorers
|
2018-10-01 22:13:24 +02:00 |
|
|
b695e82bec
|
FreeBSD improvements (#651)
|
2018-03-26 08:53:31 +02:00 |
|
|
5c4cda589c
|
Add support for CoreOS to __hostname type (#586)
|
2017-10-19 19:58:25 +02:00 |
|
Steven Armstrong
|
3c3b29f710
|
allow hostnamectl to fail silently
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2017-08-29 22:50:47 +02:00 |
|
Darko Poljak
|
62378dc8b9
|
Change shebang to #!/bin/sh -e
|
2017-06-28 13:19:32 +02:00 |
|
Andres Erbsen
|
3b91443f81
|
__hostname: openbsd support
|
2016-09-02 12:11:10 -04:00 |
|
Darko Poljak
|
df566f4ff8
|
GPLv3+ relicensing.
|
2016-08-10 18:15:54 +02:00 |
|
Darko Poljak
|
f98208f250
|
Make man pages SEE ALSO by convention. Improve docs building.
|
2016-06-30 12:09:07 +02:00 |
|
Nico Schottelius
|
55cd9963db
|
Merge pull request #447 from sleemburg/master
Add openvz/lxc discovery
|
2016-06-30 10:51:18 +09:00 |
|
Darko Poljak
|
51c94e9e82
|
Restructure and fix and improve docs and manpages.
|
2016-06-29 07:48:34 +02:00 |
|
Darko Poljak
|
b89077f9a5
|
Better sphinx manpage ext. Add custom dotman Makefile target for custom .cdist directory.
|
2016-06-23 16:08:59 +02:00 |
|
Stephan Leemburg
|
9300eda3c6
|
Add scientific
|
2016-06-22 13:32:51 +02:00 |
|
Darko Poljak
|
cf32b669ff
|
Write sphinx rst docs.
|
2016-05-22 17:16:03 +02:00 |
|
smwltr
|
1882040a25
|
Adding suuport for OS Devuan
|
2016-04-12 12:18:47 +09:00 |
|
Nico Schottelius
|
3592a0c6dd
|
+suse support in __locale and __hostname
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
2014-06-10 23:50:53 +02:00 |
|
Nico Schottelius
|
9127e06109
|
CentOS support for __hostname
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
2014-04-25 01:48:58 +02:00 |
|
Nico Schottelius
|
b6bae508a8
|
use hostnamectl, if available, else use /etc/hostname and hostname
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
2014-01-20 14:26:22 +01:00 |
|
Nico Schottelius
|
9123940255
|
port selection of first part into gencode-remote
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
2014-01-20 13:51:48 +01:00 |
|
Nico Schottelius
|
29d4f910bc
|
do not change parameters
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
2014-01-20 13:50:42 +01:00 |
|
Nico Schottelius
|
5279b7239c
|
import __hostname - Thanks, Steven!
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
2014-01-20 13:47:45 +01:00 |
|