mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 10:31:35 +00:00
Merge pull request #321 from nathanleclaire/rm_walinuxagent
Remove Windows Azure Linux agent Dockerfile
This commit is contained in:
commit
13b2d94b75
@ -1,28 +0,0 @@
|
|||||||
FROM debian:jessie
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get install -y --no-install-recommends \
|
|
||||||
rsyslog \
|
|
||||||
openssl \
|
|
||||||
ca-certificates \
|
|
||||||
ssh \
|
|
||||||
git \
|
|
||||||
parted \
|
|
||||||
sudo \
|
|
||||||
net-tools \
|
|
||||||
ifupdown \
|
|
||||||
python \
|
|
||||||
python-pyasn1 \
|
|
||||||
python-setuptools \
|
|
||||||
python-rpm
|
|
||||||
|
|
||||||
RUN git clone https://github.com/Azure/WALinuxAgent /WALinuxAgent
|
|
||||||
WORKDIR /WALinuxAgent
|
|
||||||
RUN python setup.py install
|
|
||||||
COPY ./waagent.conf /etc/waagent.conf
|
|
||||||
RUN cp /WALinuxAgent/bin/* /usr/sbin/
|
|
||||||
|
|
||||||
RUN chmod +x /usr/sbin/waagent && \
|
|
||||||
ln -sf /dev/stdout /var/log/waagent.log
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/sbin/waagent"]
|
|
@ -1,75 +0,0 @@
|
|||||||
#
|
|
||||||
# Windows Azure Linux Agent Configuration
|
|
||||||
#
|
|
||||||
|
|
||||||
# Specified program is invoked with the argument "Ready" when we report ready status
|
|
||||||
# to the endpoint server.
|
|
||||||
Role.StateConsumer=None
|
|
||||||
|
|
||||||
# Specified program is invoked with XML file argument specifying role
|
|
||||||
# configuration.
|
|
||||||
Role.ConfigurationConsumer=None
|
|
||||||
|
|
||||||
# Specified program is invoked with XML file argument specifying role topology.
|
|
||||||
Role.TopologyConsumer=None
|
|
||||||
|
|
||||||
# Enable instance creation
|
|
||||||
Provisioning.Enabled=y
|
|
||||||
|
|
||||||
# Password authentication for root account will be unavailable.
|
|
||||||
Provisioning.DeleteRootPassword=y
|
|
||||||
|
|
||||||
# Generate fresh host key pair.
|
|
||||||
Provisioning.RegenerateSshHostKeyPair=n
|
|
||||||
|
|
||||||
# Supported values are "rsa", "dsa" and "ecdsa".
|
|
||||||
Provisioning.SshHostKeyPairType=rsa
|
|
||||||
|
|
||||||
# Monitor host name changes and publish changes via DHCP requests.
|
|
||||||
Provisioning.MonitorHostName=n
|
|
||||||
|
|
||||||
# Decode CustomData from Base64.
|
|
||||||
Provisioning.DecodeCustomData=y
|
|
||||||
|
|
||||||
# Execute CustomData after provisioning.
|
|
||||||
Provisioning.ExecuteCustomData=y
|
|
||||||
|
|
||||||
# Format if unformatted. If 'n', resource disk will not be mounted.
|
|
||||||
ResourceDisk.Format=y
|
|
||||||
|
|
||||||
# File system on the resource disk
|
|
||||||
# Typically ext3 or ext4. FreeBSD images should use 'ufs2' here.
|
|
||||||
ResourceDisk.Filesystem=ext4
|
|
||||||
|
|
||||||
# Mount point for the resource disk
|
|
||||||
ResourceDisk.MountPoint=/mnt/resource
|
|
||||||
|
|
||||||
# Create and use swapfile on resource disk.
|
|
||||||
ResourceDisk.EnableSwap=n
|
|
||||||
|
|
||||||
# Size of the swapfile.
|
|
||||||
ResourceDisk.SwapSizeMB=0
|
|
||||||
|
|
||||||
# Respond to load balancer probes if requested by Windows Azure.
|
|
||||||
LBProbeResponder=y
|
|
||||||
|
|
||||||
# File to write log to.
|
|
||||||
# '/var/log/waagent.log' if not set
|
|
||||||
Logs.File=/dev/stdout
|
|
||||||
|
|
||||||
# Enable logging to serial console (y|n)
|
|
||||||
# When stdout is not enough...
|
|
||||||
# 'y' if not set
|
|
||||||
Logs.Console=y
|
|
||||||
|
|
||||||
# Enable verbose logging (y|n)
|
|
||||||
Logs.Verbose=y
|
|
||||||
|
|
||||||
# Preferred network interface to communicate with Azure platform
|
|
||||||
Network.Interface=eth0
|
|
||||||
|
|
||||||
# Root device timeout in seconds.
|
|
||||||
OS.RootDeviceScsiTimeout=300
|
|
||||||
|
|
||||||
# If "None", the system default version is used.
|
|
||||||
OS.OpensslPath=None
|
|
Loading…
Reference in New Issue
Block a user