.
This commit is contained in:
parent
f8616e4121
commit
40344c17ad
7
cloud-init/meta-data
Normal file
7
cloud-init/meta-data
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
local-hostname: debiansrv1.local
|
||||||
|
# jako ciekawostka poniżej konfiguracja sieci
|
||||||
|
# network-interfaces: |
|
||||||
|
# iface enp0s3 inet static
|
||||||
|
# address 192.168.101.168
|
||||||
|
# netmask 255.255.254.0
|
||||||
|
# gateway 192.168.100.254
|
24
cloud-init/user-data
Normal file
24
cloud-init/user-data
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#cloud-config
|
||||||
|
users:
|
||||||
|
- name: jozek
|
||||||
|
passwd: $6$PQER2ouhhVnCCBFQ$X4GhTSz/tkgl75yq9.07rjcCuE0jJshtd3kER.PgjwmLqMytuG87DxdisNajl9ecn71YeEPWiCvn0Wg4G8x8e.
|
||||||
|
shell: /bin/bash
|
||||||
|
lock_passwd: false
|
||||||
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||||
|
ssh_authorized_keys:
|
||||||
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBfJ2Qjt5GPi7DKRPGxJCkvk8xNsG9dA607tnWagOk2D jozek@gmail.com
|
||||||
|
packages:
|
||||||
|
- apache2
|
||||||
|
package_upgrade: true
|
||||||
|
write_files:
|
||||||
|
- path: /var/www/html/index.html
|
||||||
|
content: |
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>strona testowa</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Witamy na stronie firmy <strong>Contoso</strong>!</h1>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user