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
[DEFAULT] | |
username=cloud-user | |
groups=Administradores | |
inject_user_password=true | |
config_drive_raw_hhd=true | |
config_drive_cdrom=true | |
config_drive_vfat=true | |
bsdtar_path=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\bin\bsdtar.exe | |
mtools_path=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\bin\ | |
verbose=true |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Web PHP-MySQL con Docker</title> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> | |
</head> | |
<body> | |
<div class = "container"> |
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
CREATE SCHEMA IF NOT EXISTS SG; | |
USE SG; | |
DROP TABLE IF EXISTS s_customer; | |
CREATE TABLE s_customer | |
(id VARCHAR(3) NOT NULL, | |
name VARCHAR(20) NOT NULL, | |
phone VARCHAR(20) NOT NULL, | |
address VARCHAR(20), | |
city VARCHAR(20), |
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
#!/bin/bash | |
echo "Instalando Docker" | |
apt-get update | |
apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ |
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
heat_template_version: 2016-04-08 | |
description: > | |
Sample Lab template. | |
This template creates two OpenStack instances. The first one is aprovisioned with Docker. The second one is aprovisoned with nginx. The post-installation script assumes that an Ubuntu image is selected. | |
parameters: | |
key_name: | |
type: string | |
description: Name of a KeyPair to enable SSH access to the instance |
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
# Inventory hosts.cfg file | |
[controller] | |
10.0.0.2 |
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
heat_template_version: 2016-04-08 | |
description: > | |
OpenStack Sample template. | |
This template creates virtual infrastructure for OpenStack instances. The basic infrastructure constists of two networks (management-net and tunnel-net) and three nodes: controller, networks and one compute node. | |
parameter_groups: | |
- label: Grupo de parámetros | |
description: Grupo de parámetros | |
parameters: |
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
#cloud-config | |
password: changeThisPassword | |
chpasswd: { expire: False } | |
ssh_pwauth: True |
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
#!/bin/bash | |
echo "Install Python" | |
apt-get update | |
apt-get install -y python-minimal | |
echo "Install Ansible" | |
apt-get install -y software-properties-common | |
apt-add-repository --yes --update ppa:ansible/ansible | |
apt-get install -y ansible |
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
#!/bin/bash | |
echo "Install Python" | |
apt-get update | |
apt-get install -y python-minimal |
OlderNewer