From: "Александр Шеметов" <shemetov-174@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Autoinstall
Date: Thu, 02 Dec 2021 12:59:33 +0500
Message-ID: <1825311638431973@sas2-500f09f10619.qloud-c.yandex.net> (raw)
In-Reply-To: <4623901638425678@myt5-76cfa60c365b.qloud-c.yandex.net>
> Первый момент. Не работает /postinstall/laststate, например, делаю так:
> ("/postinstall/laststate" run "run_chroot sh -c 'echo WHEEL_USERS ALL=\(ALL\) NOPASSWD: ALL > /etc/sudoers.d/wheel'")
> и так:
> ("/postinstall/laststate" run "echo 'WHEEL_USERS ALL=(ALL) NOPASSWD: ALL' > $destdir/etc/sudoers.d/wheel")
> По идее нужен удалённый доступ после установки системы. Сейчас получается, sshd погашен, доступ руту не позволен,
> ничего с машиной сделать нельзя, только идти ногами, условно.
Вопрос снимаю, вместо этого использовал /postinstall/firsttime.
То есть /postinstall/laststate вообще никак не работает, как отладить — не знаю.
Добавлю третий момент, с которым столкнулся. Не удаётся указать таймзону UTC:
("/datetime-installer" action "write" commit #t name "RU" zone "UTC" utc #f ctime "")
данная настройка, по идее, должна соответствовать:
timedatectl set-timezone UTC
next prev parent reply other threads:[~2021-12-02 7:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 6:14 Александр Шеметов
2021-12-02 7:59 ` Александр Шеметов [this message]
2021-12-02 9:24 ` Nikolay A. Fetisov
2021-12-02 11:30 ` Александр Шеметов
2021-12-03 4:49 ` Александр Шеметов
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1825311638431973@sas2-500f09f10619.qloud-c.yandex.net \
--to=shemetov-174@yandex.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git