0
ˆ
ƒ¡gÈ¾É ±
Index of /FSS-BCZ/root/sys/devices/system/node/node0/memory37/power
Index of /FSS-BCZ/root/sys/devices/system/node/node0/memory37/power
ˆ
ƒ/9È¾É j
Index of /FSS-BCZ/root/sys/devices/system/node/node0/cpu1/firmware_node/physical_node/hotplug
Index of /FSS-BCZ/root/sys/devices/system/node/node0/cpu1/firmware_node/physical_node/hotplug
# ˆl–Ðz¾”ji?u4 \¸î*bÑ¿Ç
ƒ�Æ¿Ê ÷ # Copyright (C) 2011 Canonical Ltd.
# Copyright (C) 2012 Hewlett-Packard Development Company, L.P.
#
# Author: Scott Moser
# Author: Juerg Haefliger
#
# This file is part of cloud-init. See LICENSE file for license information.
"""Scripts Per Once: Run one time scripts"""
import logging
import os
from cloudinit import subp
from cloudinit.cloud import Cloud
from cloudinit.config import Config
from cloudinit.config.schema import MetaSchema
from cloudinit.distros import ALL_DISTROS
from cloudinit.settings import PER_ONCE
meta: MetaSchema = {
"id": "cc_scripts_per_once",
"distros": [ALL_DISTROS],
"frequency": PER_ONCE,
"activate_by_schema_keys": [],
}
LOG = logging.getLogger(__name__)
SCRIPT_SUBDIR = "per-once"
def handle(name: str, cfg: Config, cloud: Cloud, args: list) -> None:
# Comes from the fo