X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lists.alpinelinux.org (Postfix) with ESMTP id 11939F81600 for ; Fri, 8 Mar 2019 16:03:47 +0000 (UTC) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x28G0gaY037415 for ; Fri, 8 Mar 2019 11:03:46 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0b-001b2d01.pphosted.com with ESMTP id 2r3sq7wxm8-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 08 Mar 2019 11:03:46 -0500 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 8 Mar 2019 16:03:45 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 8 Mar 2019 16:03:43 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x28G3giC61472842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 8 Mar 2019 16:03:42 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AAE5D11C04A for ; Fri, 8 Mar 2019 16:03:42 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8BFAD11C050 for ; Fri, 8 Mar 2019 16:03:42 +0000 (GMT) Received: from oc7167334104.ibm.com (unknown [9.152.96.210]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP for ; Fri, 8 Mar 2019 16:03:42 +0000 (GMT) Subject: Re: [alpine-devel] Should `setup-apkrepos -f` if fails. To: alpine-devel@lists.alpinelinux.org References: <4794e0ed-092a-c051-d850-bef86b8bb475@linux.ibm.com> <20190308155207.GA7260@homura.localdomain> From: Tuan Hoang Date: Fri, 8 Mar 2019 17:03:42 +0100 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19030816-4275-0000-0000-00000318A852 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19030816-4276-0000-0000-00003827070C Message-Id: <876d757e-76a4-4be1-b12e-3c9218cb8885@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-08_14:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903080110 On 3/8/19 5:00 PM, Tuan Hoang wrote: > I would love to hear opinions from Alpine dev team on this matter. > > What's in my mind is something like established method like kickstart > (and preseed too?). > > Something like, you have an init service that watches for kernel parm > 'auto_inst'. If there is, it starts the automated installer for you (and > somehow can reuse our setup-* scripts), with a provided configuration > file. Could be like 'auto_inst=https://yoursite.com/auto_inst.conf'. I > think this would be a nice fit for Alpine. > As simple as firstboot init service we are having and its corresponding kernel parm 'ssh_key'. https://git.alpinelinux.org/aports/tree/main/openrc/firstboot.initd > > On 3/8/19 4:52 PM, Drew DeVault wrote: >> A little bit late to this thread, but I found the installation scripts >> wholely unsuitable for unattended installation. You're probably better >> off ditching them. Here's the script I use: >> >> https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/images/alpine/genimg >> >> Feel free to adapt it to your needs. IMO given the simplicity of doing >> these steps manually, I think that the setup-* scripts should be >> considered useful only in an interactive install. >> >> >> --- >> Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org >> Help: alpine-devel+help@lists.alpinelinux.org >> --- >> > > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---