File: nova-compute-lxc.postinst

package info (click to toggle)
nova 2%3A22.0.1-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 47,176 kB
  • sloc: python: 375,733; pascal: 1,781; sh: 1,142; makefile: 149; xml: 83; sql: 43
file content (13 lines) | stat: -rwxr-xr-x 185 bytes parent folder | download | duplicates (27)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
	if dpkg-vendor --derives-from ubuntu ; then
		adduser --quiet nova libvirtd
	else
		adduser --quiet nova libvirt
	fi
fi

#DEBHELPER#