File: cloudconfig

package info (click to toggle)
cloud-init 20.2-2~deb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,276 kB
  • sloc: python: 69,663; sh: 3,915; makefile: 105; xml: 21
file content (17 lines) | stat: -rwxr-xr-x 265 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# PROVIDE: cloudconfig
# REQUIRE: cloudinit
# BEFORE: sshd

$_rc_subr_loaded . /etc/rc.subr

name="cloudinit"
start_cmd="start_cloud_init"
start_cloud_init()
{
    /usr/pkg/bin/cloud-init modules --mode config
}

load_rc_config $name
run_rc_command "$1"