mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
sysutils/firstboot-cloudsetup: Add new port
Configure network and user data from cloud configuration at first boot. The configuration is written before the netif service is started. Compatible with OpenNebula. PR: 264286
This commit is contained in:
committed by
Baptiste Daroussin
parent
41781257b4
commit
3d6e3986a5
@@ -368,6 +368,7 @@
|
||||
SUBDIR += filevercmp
|
||||
SUBDIR += filewatcherd
|
||||
SUBDIR += finfo
|
||||
SUBDIR += firstboot-cloudsetup
|
||||
SUBDIR += firstboot-freebsd-update
|
||||
SUBDIR += firstboot-growfs
|
||||
SUBDIR += firstboot-pkgs
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
PORTNAME= cloudsetup
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://git.sr.ht/~jornane/${PORTNAME}/archive/
|
||||
PKGNAMEPREFIX= firstboot-
|
||||
|
||||
MAINTAINER= jornane@icloud.com
|
||||
COMMENT= Configure network and user when the system first boots
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
WRKSRC= work/${PORTNAME}-${DISTNAME}
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g" \
|
||||
${WRKSRC}/firstboot_cloudsetup.rc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1653658894
|
||||
SHA256 (cloudsetup-1.0.tar.gz) = b13c1bb680b741116ec830bfad7b09d01f6dec014b37dda2e2d5f3351ccf07e6
|
||||
SIZE (cloudsetup-1.0.tar.gz) = 6805
|
||||
@@ -0,0 +1,5 @@
|
||||
Configure network and user data from cloud configuration at first boot.
|
||||
The configuration is written before the netif service is started.
|
||||
Compatible with OpenNebula.
|
||||
|
||||
WWW: https://git.sr.ht/~jornane/${PORTNAME}
|
||||
@@ -0,0 +1,10 @@
|
||||
etc/rc.d/firstboot_cloudsetup
|
||||
sbin/cloudsetup
|
||||
%%DATADIR%%/cloudsetup-network
|
||||
%%DATADIR%%/cloudsetup-user
|
||||
%%DATADIR%%/functions.sh
|
||||
%%DATADIR%%/netconf-network.sh
|
||||
%%DATADIR%%/netconf-resolv.sh
|
||||
%%DATADIR%%/netconf-routing.sh
|
||||
%%DATADIR%%/show-context.sh
|
||||
%%DATADIR%%/userconf-sshkey.sh
|
||||
Reference in New Issue
Block a user