1
0
mirror of synced 2026-02-11 18:14:41 +00:00
Files
xen-tools.xen-tools/etc/hook.d/70-install-ssh
steve f9752fd20c 2005-12-24 20:34:44 by steve
The hook scripts are now only passed a single argument on the command line - the name of the mount point.  The hostname is now accessible via the environment.
2005-12-24 20:34:44 +00:00

11 lines
253 B
Bash
Executable File

#!/bin/sh
#
# This script installs OpenSSH upon the new system.
#
prefix=$1
chroot ${prefix} /usr/bin/apt-get update
DEBIAN_FRONTEND=noninteractive chroot ${prefix} /usr/bin/apt-get --yes --force-yes install ssh
chroot ${prefix} /etc/init.d/ssh stop