Created
April 4, 2019 16:59
-
-
Save simos/6e84dcb2aa554b8e2954b26d10e40f69 to your computer and use it in GitHub Desktop.
LXD profile "steam"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config: | |
environment.DISPLAY: :0 | |
raw.idmap: both 1000 1000 | |
user.user-data: | | |
#cloud-config | |
runcmd: | |
- 'dpkg --add-architecture i386' | |
- 'apt-get update' | |
- 'apt-get install -y x11-apps:i386' | |
- 'apt-get install -y mesa-utils:i386' | |
- 'apt-get install -y libgl1-mesa-glx:i386' | |
- 'apt-get install -y libcanberra-gtk-module:i386' | |
- 'apt-get install -y pulse-audio' | |
- 'apt-get install -y dbus-x11' | |
- 'sed -i "s/; enable-shm = yes/enable-shm = no/g" /etc/pulse/client.conf' | |
- 'echo export PULSE_SERVER=unix:/tmp/.pulse-native | tee --append /home/ubuntu/.profile' | |
- 'wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb' | |
- 'dpkg -i /steam.deb' | |
- 'apt-get install -y -f' | |
description: Steam LXD profile | |
devices: | |
PASocket: | |
path: /tmp/.pulse-native | |
source: /run/user/1000/pulse/native | |
type: disk | |
X0: | |
path: /tmp/.X11-unix/X0 | |
source: /tmp/.X11-unix/X1 | |
type: disk | |
mygpu: | |
type: gpu | |
name: steam | |
used_by: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment