[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AWS + OpenStack support
From: |
Ludovic Courtès |
Subject: |
Re: AWS + OpenStack support |
Date: |
Fri, 14 Apr 2017 14:39:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Chris Marusich <address@hidden> skribis:
> address@hidden (Ludovic Courtès) writes:
>
>> Heya,
>>
>> Mark Meyer <address@hidden> skribis:
>>
>>> So I'd like to extend Shepherd with a first-boot service that runs `guix
>>> system reconfigure'. And as a second step I want to include a Guile
>>> package that queries the metadata server. You should be able to do
>>> something like
>>>
>>> (user "guix-sd"
>>> (public-keys (metadata-get-keys)))
>>
>> For this part, you can look at how we register SSH public keys (for lshd
>> though, not sshd) in this module:
>>
>>
>> https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/modules/sysadmin/people.scm
>>
>> I’d like to take this functionality in GuixSD proper and also add it for
>> sshd.
>
> I'm not Mark, but I have a question. When you say "this functionality",
> which of the following do you mean?
>
> * A first-boot service that runs 'guix system reconfigure'.
>
> * A Guile module to facilitate querying the EC2 metadata server - this
> would provide the metadata-get-keys procedure as shown above.
>
> * The ability to register a user's SSH public keys by declaring them in
> the operating system configuration file, as shown above.
I was referring to the ability to register user SSH public keys. Sorry
for the confusion!
Ludo’.