Alle Konfigurationen der *.nspawn und mkosi.conf-Dateien.

This commit is contained in:
eichehome 2023-10-26 00:15:29 +02:00
parent d74f79c630
commit 244aa5f108

View file

@ -18,12 +18,39 @@
``` ```
--- ---
``` ```
mkosi-cli
```
```
summary
build
shell
boot
qemu
ssh
clean
serve
bump
genkey
documentation
- -force,-f
- -directory=,-C
- -debug=
- -debug-shell=
- -version
- -help,-h
- -genkey-common-name=
- -genkey-valid-days=
- -auto-bump=,-B
- -doc-format
```
```
mkosi.conf mkosi.conf
``` ```
```ini ```ini
[Match] [Match]
Distribution= Distribution=
Release= Release=
Architecture=
PathExists= PathExists=
ImageId= ImageId=
ImageVersion= ImageVersion=
@ -31,12 +58,15 @@ Bootable=
Format= Format=
SystemdVersion= SystemdVersion=
[Config]
Include=
[Preset] [Preset]
Preset= Preset=
Dependencies= Dependencies=
[Distribution] [Distribution]
Distribution=fedora|debian|ubuntu|arch|opensuse|mageia|centos|openmandriva|rocky|alma Distribution=fedora|debian|ubuntu|arch|opensuse|mageia|centos|rhel-ubi|openmandriva|rocky|alma|custom
Release= Release=
Architecture=alpha|arc|arm|arm64|ia64|loongarch64|mips64-le|mips-le|parisc|ppc|ppc64|ppc64-le|riscv32|riscv64|s390|s390x|tilegx|x86|x86-64 Architecture=alpha|arc|arm|arm64|ia64|loongarch64|mips64-le|mips-le|parisc|ppc|ppc64|ppc64-le|riscv32|riscv64|s390|s390x|tilegx|x86|x86-64
Mirror= Mirror=
@ -50,14 +80,14 @@ Format=directory|tar|cpio|disk|uki|none
ManifestFormat=json|changelog ManifestFormat=json|changelog
Output= Output=
CompressOutput=yes|no|xz|zstd CompressOutput=yes|no|xz|zstd
OutputDirectory=mkosi.output/ OutputDirectory=mkosi.output
WorkspaceDirectory=mkosi.workspace/ WorkspaceDirectory=mkosi.workspace
CacheDirectory=mkosi.cache/ CacheDirectory=mkosi.cache
BuildDirectory=mkosi.builddir/ BuildDirectory=mkosi.builddir
ImageVersion= ImageVersion=
ImageId= ImageId=
SplitArtifacts= SplitArtifacts=
RepartDirectories=mkosi.repart/ RepartDirectories=mkosi.repart
SectorSize= SectorSize=
Overlay= Overlay=
UseSubvolumes=auto|yes|no UseSubvolumes=auto|yes|no
@ -69,9 +99,9 @@ Packages=
BuildPackages= BuildPackages=
WithDocs= WithDocs=
BaseTrees= BaseTrees=
SkeletonTrees=mkosi.skeleton/ SkeletonTrees=mkosi.skeleton
PackageManagerTrees= PackageManagerTrees=
ExtraTrees=mkosi.extra/|mkosi.extra.tar ExtraTrees=mkosi.extra|mkosi.extra.tar
RemovePackages= RemovePackages=
RemoveFiles= RemoveFiles=
CleanPackageMetadata=yes|no|auto CleanPackageMetadata=yes|no|auto
@ -99,7 +129,7 @@ Keymap=
Timezone= Timezone=
Hostname= Hostname=
RootShell= RootShell=
RootPassword= (mkosi.rootpw (hashed:)) RootPassword=mkosi.rootpw (hashed:...)
Autologin=yes|no Autologin=yes|no
MakeInitrd= MakeInitrd=
Ssh= Ssh=
@ -119,7 +149,7 @@ Key=
[Host] [Host]
Incremental= Incremental=
NSpawnSettings= (mkosi.nspawn) NSpawnSettings=mkosi.nspawn
ExtraSearchPaths= ExtraSearchPaths=
QemuGui=yes|no QemuGui=yes|no
QemuSmp=2 QemuSmp=2
@ -135,17 +165,82 @@ Ephemeral=
Credentials=key=value key2=value2 Credentials=key=value key2=value2
KernelCommandLineExtra= KernelCommandLineExtra=
Acl=yes|no Acl=yes|no
ToolsTree= (mkosi.tools/) ToolsTree=mkosi.tools
ToolsTreeDistribution= ToolsTreeDistribution=
ToolsTreeRelease= ToolsTreeRelease=
ToolsTreePackages= ToolsTreePackages=
RuntimeTrees= RuntimeTrees=
RuntimeSize=
``` ```
--- ---
``` ```
mkosi.nspawn mkosi.nspawn
``` ```
``` ```ini
[Exec]
Boot=off|on
Ephemeral=
ProcessTwo=
Parameters=
Enviroment=
User=
WorkingDirectory=
PivotRoot=
*Capability=
*DropCapability=
*AmbientCapability=
NoNewPrivileges=
KillSignal=
Personality=
*MachineID=
*PrivateUsers=
NotifyReady=
SystemCallFilter=
LimitCPU=
LimitFSIZE=
LimitDATA=
LimitSTACK=
LimitCORE=
LimitRSS=
LimitNOFILE=
LimitAS=
LimitNPROC=
LimitMEMLOCK=
LimitLOCKS=
LimitSIGPENDING=
LimitMSGQUEUE=
LimitNICE=
LimitRTPRIO=
LimitRTTIME=
OOMScoreAdjust=
CpuAffinity=
Hostname=
ResolvConf=
Timezone=
Linkjournal=
SuppressSync=
[Files]
ReadOnly=
Volatile=
*Bind=
*BindReadOnly=
*BindUser=
*TemporaryFileSystem=
*Inaccessible=
*Overlay=
*OverlayReadOnly=
*PrivateUsersOwnership=
[Network]
Private=
*VirtualEthernet=
*VirtualEthernetExtra=
*Interface=
*MACVLAN=
*IPVLAN=
*Bridge=
*Zone=
*Port=
``` ```
---