parent
9962ce73cb
commit
6bf86eb2be
@ -1,5 +1,5 @@
|
|||||||
Name: alterator-net-eth
|
Name: alterator-net-eth
|
||||||
Version: 5.2.1
|
Version: 5.2.2
|
||||||
Release: alt1
|
Release: alt1
|
||||||
|
|
||||||
Source:%name-%version.tar
|
Source:%name-%version.tar
|
||||||
@ -77,6 +77,9 @@ mapping current hostname to 127.0.0.1 in /etc/hosts.
|
|||||||
%_sysconfdir/hooks/hostname.d/*
|
%_sysconfdir/hooks/hostname.d/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 15 2022 Andrey Cherepanov <cas@altlinux.org> 5.2.2-alt1
|
||||||
|
- Enabled FQDN in computer name in all cases (ALT #41708).
|
||||||
|
|
||||||
* Mon Dec 27 2021 Slava Aseev <ptrnine@altlinux.org> 5.2.1-alt1
|
* Mon Dec 27 2021 Slava Aseev <ptrnine@altlinux.org> 5.2.1-alt1
|
||||||
- Use hostnamectl (if it possible) to manage static hostname
|
- Use hostnamectl (if it possible) to manage static hostname
|
||||||
|
|
||||||
|
@ -1025,16 +1025,8 @@ list_current_iface_addresses()
|
|||||||
iface_up lo
|
iface_up lo
|
||||||
clear_cache
|
clear_cache
|
||||||
|
|
||||||
|
|
||||||
# do not setup domain name if alterator-net-domain installed to current system
|
|
||||||
if [ -f "$ALTERATOR_DOMAIN" ] && [ -z "$DURING_INSTALL" ];then
|
|
||||||
NAME_CHECK=system-computer-name
|
|
||||||
else
|
|
||||||
NAME_CHECK=hostname
|
|
||||||
fi
|
|
||||||
|
|
||||||
alterator_export_var \
|
alterator_export_var \
|
||||||
computer_name $NAME_CHECK \
|
computer_name hostname \
|
||||||
search hostname-list \
|
search hostname-list \
|
||||||
dns ip-address-list
|
dns ip-address-list
|
||||||
# default ipv4-address \
|
# default ipv4-address \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user