all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
To: Giovanni Biscuolo <g@xelera.eu>
Cc: guix-devel@gnu.org
Subject: Re: Using the Hetzner Cloud
Date: Fri, 21 Feb 2020 19:20:35 +0100	[thread overview]
Message-ID: <87zhdbls3w.fsf@gmail.com> (raw)
In-Reply-To: <87r1yn6csq.fsf@roquette.mug.biscuolo.net>

Heya,

Giovanni Biscuolo <g@xelera.eu> writes:

> Hello Alex,
>
> Alex Sassmannshausen <alex.sassmannshausen@gmail.com> writes:
>
>> Giovanni Biscuolo <g@xelera.eu> writes:
>
> [...]
>
>>> could you please share that "guix-infect" script?
>>
>> Sure, please see attached.  This one here is a bash script that works
>> with a system config that is specified as part of a here-doc in the bash
>> script.
>
> Cool, thanks!
>
> [...]
>
>> — primarily to encourage myself to keep automating further by
>> integrating this in Guix deploy. Where does all the time go!!!
>
> I'd like to help but still need to enhance my guile-foo
>
>> Happy to help if you run into problems or have questions.
>
> maybe when guix will be in Debian [1] your script could be simpified in
> the first steps... but I hope we'll have a proper guix-deploy way for
> many many providers before :-)
>
> just one more question:
>
> [...]
>
>> #!/bin/bash
>>
>> e2label /dev/sda1 root
>
> [...]
>
>> guix system build /etc/bootstrap-config.scm
>> guix system reconfigure /etc/bootstrap-config.scm
>> mv /etc /old-etc
>> mkdir /etc
>> cp -r /old-etc/{passwd,group,shadow,gshadow,mtab,guix,bootstrap-config.scm} /etc/
>> guix system reconfigure /etc/bootstrap-config.scm
>
> why two "guix system reconfigure"?

Tbh, not 100% sure.  This script is heavily copypasta.  It looks like
there is an element of transferring debian files away over the course of
the 2, so perhaps it's to fully transition.

But, tbh, not really investigated it, as the second reconfigure is dirt
cheap, and the script just works (tm).

Feel free to experiment!  If you find it's unnecessary, I'd be happy to
hear about it!

Cheers,

Alex

  reply	other threads:[~2020-02-21 18:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17 13:47 Using the Hetzner Cloud Jonathan Brielmaier
2020-02-17 16:55 ` Ellen Papsch
2020-02-17 17:15   ` Alex Sassmannshausen
2020-02-18 11:44     ` Ellen Papsch
2020-02-18 11:58     ` Giovanni Biscuolo
2020-02-19 13:48       ` Alex Sassmannshausen
2020-02-21 18:00         ` Giovanni Biscuolo
2020-02-21 18:20           ` Alex Sassmannshausen [this message]
2020-02-18 17:38     ` Jonathan Brielmaier
2020-02-17 20:16   ` Christopher Baines
2020-02-18 17:35   ` Jonathan Brielmaier
2020-02-17 20:12 ` Christopher Baines
2020-02-17 20:39   ` Ricardo Wurmus
2020-02-17 21:28     ` Christopher Baines
2020-02-24 21:45   ` Ludovic Courtès

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=87zhdbls3w.fsf@gmail.com \
    --to=alex.sassmannshausen@gmail.com \
    --cc=g@xelera.eu \
    --cc=guix-devel@gnu.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.