Please don't do this... 11 line output in post_install. If you
REALLY need this, use a single line pointing to the wiki page.
Allan
-------- Original Message --------
Subject: [arch-commits] Commit in (9 files)
Date: Wed, 27 Nov 2013 11:14:00 +0100 (CET)
From: Alexander Rødseth
Reply-To: Arch Linux packaging commits
To: arch-commits@archlinux.org
<snip>
--- lxc-docker/trunk/docker.install (rev 0)
+++ lxc-docker/trunk/docker.install 2013-11-27 10:14:00 UTC (rev 101542)
@@ -0,0 +1,37 @@
+# Contributor: Nicolas Dudebout
+
+post_install() {
+ grep -q '^docker:' /etc/group || groupadd --system docker
+ systemctl daemon-reload
+ echo 'To make Docker fully functional, consider performing the
following actions:'
+ echo ' + Start the docker daemon:'
+ echo ' $ sudo systemctl start docker'
+ echo ' + (OPTIONAL) Start the docker daemon at boot:'
+ echo ' $ sudo systemctl enable docker'
+ echo ' + Add your user to the docker group to run the docker client
without sudo:'
+ echo ' $ sudo usermod -a -G docker <username>'
+ echo ' Login again for the change to take effect or run the
following command'
+ echo ' for a change affecting only the current shell:'
+ echo ' $ newgrp docker'
+ echo ' + Enable IPv4 forwarding to allow internet connections inside
the containers.'
+ echo ' See /etc/sysctl.d/docker.conf for WARNING and instructions.'
+}
+