This file contains 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
FROM intel/oneapi-hpckit | |
WORKDIR /tmp | |
EXPOSE 22 | |
# install sshd | |
RUN apt update &&\ | |
apt install ssh x11-apps -y &&\ | |
cd /etc/ssh &&\ | |
sed -i -e '/PermitRootLogin/s/^.*$/PermitRootLogin yes/' \ | |
-e '/X11UseLocalhost/s/^.*$/X11UseLocalhost no/' sshd_config &&\ |
This file contains 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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
DOCUMENTATION = """ | |
--- | |
module: source | |
author: "Naoyuki Sogo(@so5) | |
version_added: "0.1" | |
short_description: return Environmet Variables which will be set by setup file and moduleCmd | |
description: |