From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aFYCDUSNhV+ETgAA0tVLHw (envelope-from ) for ; Tue, 13 Oct 2020 11:19:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 7BPbCESNhV+CHQAA1q6Kng (envelope-from ) for ; Tue, 13 Oct 2020 11:19:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9F3B1940215 for ; Tue, 13 Oct 2020 11:19:31 +0000 (UTC) Received: from localhost ([::1]:43942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSIL4-0006ZZ-D2 for larch@yhetil.org; Tue, 13 Oct 2020 07:19:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSIKg-0006Xw-Rj for guix-devel@gnu.org; Tue, 13 Oct 2020 07:19:07 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:32824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSIKd-0000a0-O7 for guix-devel@gnu.org; Tue, 13 Oct 2020 07:19:06 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 370cdb4f; Tue, 13 Oct 2020 11:18:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=rbuQsbpAiQRd3bSfwh4Yrce8xfLxdxGbXTf5FbDNT9s=; b=HOj8DxDQ4Q0p NvY8qeBh6rMPCBASIvPrmiatzsdN1+iHsZU42aTldL3KMntMsVXZ7dJ2SzUTvA99 uf6kKbkbik0qA0XpDTLl15uraQRFJc+xAW1MA26qVqeSjxJCCmWXh1e7ywmAkRxM 1gURX3UD8eHJb58M50me1crJEjyRq2VlSAkXjlj7nhlcZL+3+xWMpt5hqWwRuSud oAgL1DJk6MBvCE+X3Wnr3bEdgTmIvxaTqv68MzetC0Nj3jtb3f+aFimSZgbimRaO +HjWwi8hleyVtObqwLndCQyz9JcHZbZu2w5TxuFJAM5dAq6d5MFTyPh7o0zjka0S tGAPsqxyQA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id fd0f641d (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 13 Oct 2020 11:18:54 +0000 (UTC) Date: Tue, 13 Oct 2020 07:18:38 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Guix Deploy Hacking To: guix-devel@gnu.org,Kurt I From: Julien Lepiller Message-ID: <7815132B-430B-46B0-961D-9FA811EDD0D9@lepiller.eu> Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=HOj8DxDQ; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: 0hHnnDxLRLFL Le 12 octobre 2020 22:08:44 GMT-04:00, Kurt I = a =C3=A9crit : >Greetings, > >I am attempting to use "Guix Deploy" as a replacement for Norton >Ghost/SCCM, imaging type software=2E > >There are 2 tasks I'm working on: > >1) Using deploy to update a machine > - I don't understand the point of pushing packages to a system >that disappear if you do a "guix system reconfigure" on that machine=2E > >To deal with this I have this code in my deploy file: > >;; This will locate where the system config file is >(define this-file > (local-file (basename (assoc-ref (current-source-location) 'filename) > "config=2Escm"))) > >;; This replaces or creates a new system config file > (simple-service 'config-file etc-service-type > `(("lr=2Escm" ,this-file))) > >Perhaps an argument to "Guix Deploy" to optionally save the file you >are pushing on the remote machine could be added? This was not the case with 1=2E1=2E0, but now we register the file that ge= nerated your system as /run/current-system/config=2Escm, with provenance in= formation=2E