Difference between revisions of "User:StasFomin/Bugs/rebar"

From Wiki4Intranet
Jump to: navigation, search
Line 132: Line 132:
 
└── tools                                                                                                                                                                     
 
└── tools                                                                                                                                                                     
 
     └── install.sh                                                                                                                                                           
 
     └── install.sh                                                                                                                                                           
 +
</pre>
 +
 +
 +
=== Install and run ===
 +
<pre>
 +
stas@stas-custis-desktop ~/bred $ curl -fsSL get.rebar.digital/stable | bash -s -- install --isolated
 +
'dr-provision' service is not running, beginning install process ...
 +
Ensuring required tools are installed
 +
Installing bsdtar
 +
Installing Version stable of Digital Rebar Provision
 +
dr-provision.zip: ЦЕЛ
 +
bash: строка 246: bsdtar: команда не найдена
 +
stas@stas-custis-desktop ~/bred $ urpmf bsdtar
 +
bsdtar:/usr/bin/bsdtar
 +
bsdtar:/usr/share/doc/bsdtar
 +
bsdtar:/usr/share/doc/bsdtar/NEWS
 +
bsdtar:/usr/share/doc/bsdtar/README
 +
bsdtar:/usr/share/man/man1/bsdtar.1.xz
 +
bsdtar:/usr/bin/bsdtar
 +
bsdtar:/usr/share/doc/bsdtar
 +
bsdtar:/usr/share/doc/bsdtar/NEWS
 +
bsdtar:/usr/share/doc/bsdtar/README
 +
bsdtar:/usr/share/man/man1/bsdtar.1.xz
 +
amanda-client-3.4.1:/usr/lib64/amanda/application/ambsdtar
 +
amanda-client-3.4.1:/usr/share/man/man8/ambsdtar.8.xz
 +
patool-1.12:/usr/lib/python2.7/site-packages/patoolib/programs/bsdtar.py
 +
stas@stas-custis-desktop ~/bred $ urpmi bsdtar
 +
    http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/main/release/bsdtar-3.2.1-4-rosa2016.1.x86_64.rpm
 +
                                                                                                                                                                                                                                           
 +
 +
устанавливается bsdtar-3.2.1-4-rosa2016.1.x86_64.rpm из /var/cache/urpmi/rpms
 +
Подготовка...                    ###########################################################################################################################################################################################################
 +
      1/1: bsdtar                ###########################################################################################################################################################################################################
 +
stas@stas-custis-desktop ~/bred $ curl -fsSL get.rebar.digital/stable | bash -s -- install --isolated
 +
'dr-provision' service is not running, beginning install process ...
 +
Ensuring required tools are installed
 +
Installing Version stable of Digital Rebar Provision
 +
dr-provision.zip: ЦЕЛ
 +
./bin/linux/amd64/drpcli: ЦЕЛ
 +
./bin/linux/amd64/dr-provision: ЦЕЛ
 +
./bin/linux/amd64/incrementer: ЦЕЛ
 +
./bin/linux/arm64/drpcli: ЦЕЛ
 +
./bin/linux/arm64/dr-provision: ЦЕЛ
 +
./bin/linux/arm64/incrementer: ЦЕЛ
 +
./bin/linux/arm_v7/drpcli: ЦЕЛ
 +
./bin/linux/arm_v7/dr-provision: ЦЕЛ
 +
./bin/linux/arm_v7/incrementer: ЦЕЛ
 +
./bin/darwin/amd64/drpcli: ЦЕЛ
 +
./bin/darwin/amd64/dr-provision: ЦЕЛ
 +
./bin/darwin/amd64/incrementer: ЦЕЛ
 +
./bin/windows/amd64/drpcli: ЦЕЛ
 +
./bin/windows/amd64/dr-provision: ЦЕЛ
 +
./bin/windows/amd64/incrementer: ЦЕЛ
 +
./assets/startup/dr-provision.service: ЦЕЛ
 +
./assets/startup/dr-provision.sysv: ЦЕЛ
 +
./assets/startup/dr-provision.unit: ЦЕЛ
 +
./tools/install.sh: ЦЕЛ
 +
Installing Version stable of Digital Rebar Provision Community Content
 +
drp-community-content.yaml: ЦЕЛ
 +
# Run the following commands to start up dr-provision in a local isolated way.
 +
# The server will store information and serve files from the drp-data directory.
 +
 +
sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/home/stas/bred/drp-data --local-content="" --default-content="" &
 +
 +
# Once dr-provision is started, these commands will install the isos for the community defaults
 +
  ./drpcli bootenvs uploadiso ubuntu-16.04-install
 +
  ./drpcli bootenvs uploadiso centos-7-install
 +
  ./drpcli bootenvs uploadiso sledgehammer
 +
 +
stas@stas-custis-desktop ~/bred $ cd
 +
stas@stas-custis-desktop ~ $
 +
stas@stas-custis-desktop ~ $ cd apps/
 +
stas@stas-custis-desktop ~/apps $ mkdir rebar
 +
stas@stas-custis-desktop ~/apps $ cd rebar
 +
stas@stas-custis-desktop ~/apps/rebar $ curl -fsSL get.rebar.digital/stable | bash -s -- install --isolated
 +
'dr-provision' service is not running, beginning install process ...
 +
Ensuring required tools are installed
 +
Installing Version stable of Digital Rebar Provision
 +
dr-provision.zip: ЦЕЛ
 +
./bin/linux/amd64/drpcli: ЦЕЛ
 +
./bin/linux/amd64/dr-provision: ЦЕЛ
 +
./bin/linux/amd64/incrementer: ЦЕЛ
 +
./bin/linux/arm64/drpcli: ЦЕЛ
 +
./bin/linux/arm64/dr-provision: ЦЕЛ
 +
./bin/linux/arm64/incrementer: ЦЕЛ
 +
./bin/linux/arm_v7/drpcli: ЦЕЛ
 +
./bin/linux/arm_v7/dr-provision: ЦЕЛ
 +
./bin/linux/arm_v7/incrementer: ЦЕЛ
 +
./bin/darwin/amd64/drpcli: ЦЕЛ
 +
./bin/darwin/amd64/dr-provision: ЦЕЛ
 +
./bin/darwin/amd64/incrementer: ЦЕЛ
 +
./bin/windows/amd64/drpcli: ЦЕЛ
 +
./bin/windows/amd64/dr-provision: ЦЕЛ
 +
./bin/windows/amd64/incrementer: ЦЕЛ
 +
./assets/startup/dr-provision.service: ЦЕЛ
 +
./assets/startup/dr-provision.sysv: ЦЕЛ
 +
./assets/startup/dr-provision.unit: ЦЕЛ
 +
./tools/install.sh: ЦЕЛ
 +
Installing Version stable of Digital Rebar Provision Community Content
 +
drp-community-content.yaml: ЦЕЛ
 +
# Run the following commands to start up dr-provision in a local isolated way.
 +
# The server will store information and serve files from the drp-data directory.
 +
 +
sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/home/stas/apps/rebar/drp-data --local-content="" --default-content="" &
 +
 +
# Once dr-provision is started, these commands will install the isos for the community defaults
 +
  ./drpcli bootenvs uploadiso ubuntu-16.04-install
 +
  ./drpcli bootenvs uploadiso centos-7-install
 +
  ./drpcli bootenvs uploadiso sledgehammer
 +
 +
stas@stas-custis-desktop ~/apps/rebar $ sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/data/rebar
 +
[sudo] пароль для stas:
 +
dr-provision2017/12/26 18:06:15.764832 Version: v3.5.0-0-8dd3ac9c62a2555d315e07f5a190f2230e3a7ca7
 +
dr-provision2017/12/26 18:06:15.764864 Extracting Default Assets
 +
dr-provision2017/12/26 18:06:16.491510 Starting TFTP server
 +
dr-provision2017/12/26 18:06:16.491580 Starting static file server
 +
dr-provision2017/12/26 18:06:16.491597 Starting DHCP server
 +
dr-provision2017/12/26 18:06:16.491738 Starting PXE/BINL server
 +
dr-provision2017/12/26 18:06:16.491840 Starting API server
 +
[GIN] 2017/12/26 - 21:06:27 | 200 |  42.611933ms |      127.0.0.1 | GET      /api/v3/users/rocketskates/token
 +
[GIN] 2017/12/26 - 21:06:27 | 404 |      78.144µs |      127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer
 +
[GIN] 2017/12/26 - 21:06:43 | 200 |  43.989789ms |      127.0.0.1 | GET      /api/v3/users/rocketskates/token
 +
[GIN] 2017/12/26 - 21:06:43 | 404 |      80.619µs |      127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer
 +
[GIN] 2017/12/26 - 21:08:12 | 200 |    41.2081ms |      127.0.0.1 | GET      /api/v3/users/rocketskates/token
 +
[GIN] 2017/12/26 - 21:08:12 | 404 |    102.576µs |      127.0.0.1 | GET      /api/v3/bootenvs/ubuntu-16.04-install
 +
[GIN] 2017/12/26 - 21:12:46 | 200 |  42.113301ms |      127.0.0.1 | GET      /api/v3/users/rocketskates/token
 +
[GIN] 2017/12/26 - 21:12:46 | 404 |      96.482µs |      127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer
 +
[GIN] 2017/12/26 - 21:24:15 | 200 |    43.69277ms |      127.0.0.1 | GET      /api/v3/users/rocketskates/token
 +
[GIN] 2017/12/26 - 21:24:15 | 200 |    170.411µs |      127.0.0.1 | GET      /api/v3/bootenvs
 +
http2: server: error reading preface from client 172.31.1.3:38116: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38118: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38122: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38124: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38126: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38128: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38130: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38132: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38134: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38136: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38142: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38144: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38146: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38148: remote error: tls: unknown certificate authority
 +
http2: server: error reading preface from client 172.31.1.3:38150: remote error: tls: unknown certificate authority
 +
http: TLS handshake error from 172.31.1.3:38188: tls: first record does not look like a TLS handshake
 +
 
</pre>
 
</pre>

Revision as of 21:33, 26 December 2017

curl -fsSL get.rebar.gitial/stable -o install.sh

stas@stas-custis-desktop ~/apps/rebar $ sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/data/rebar 
[sudo] пароль для stas: 
dr-provision2017/12/26 18:06:15.764832 Version: v3.5.0-0-8dd3ac9c62a2555d315e07f5a190f2230e3a7ca7
dr-provision2017/12/26 18:06:15.764864 Extracting Default Assets
dr-provision2017/12/26 18:06:16.491510 Starting TFTP server
dr-provision2017/12/26 18:06:16.491580 Starting static file server
dr-provision2017/12/26 18:06:16.491597 Starting DHCP server
dr-provision2017/12/26 18:06:16.491738 Starting PXE/BINL server
dr-provision2017/12/26 18:06:16.491840 Starting API server
[GIN] 2017/12/26 - 21:06:27 | 200 |   42.611933ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:06:27 | 404 |      78.144µs |       127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer
[GIN] 2017/12/26 - 21:06:43 | 200 |   43.989789ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:06:43 | 404 |      80.619µs |       127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer
[GIN] 2017/12/26 - 21:08:12 | 200 |     41.2081ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:08:12 | 404 |     102.576µs |       127.0.0.1 | GET      /api/v3/bootenvs/ubuntu-16.04-install
[GIN] 2017/12/26 - 21:12:46 | 200 |   42.113301ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:12:46 | 404 |      96.482µs |       127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer


                                                                                                                                                                            
/data/rebar>tree                                                                                                                                                             
.                                                                                                                                                                            
├── CentOS-7-x86_64-Everything-1708.iso                                                                                                                                      
├── digitalrebar                                                                                                                                                             
│   ├── bootenvs                                                                                                                                                             
│   ├── jobs                                                                                                                                                                 
│   ├── leases                                                                                                                                                               
│   ├── machines                                                                                                                                                             
│   ├── params                                                                                                                                                               
│   ├── plugins                                                                                                                                                              
│   ├── preferences                                                                                                                                                          
│   │   ├── baseTokenSecret.json                                                                                                                                             
│   │   ├── debugBootEnv.json                                                                                                                                                
│   │   ├── debugDhcp.json                                                                                                                                                   
│   │   ├── debugFrontend.json                                                                                                                                               
│   │   ├── debugPlugins.json                                                                                                                                                
│   │   ├── debugRenderer.json                                                                                                                                               
│   │   ├── defaultBootEnv.json                                                                                                                                              
│   │   ├── defaultStage.json                                                                                                                                                
│   │   ├── knownTokenTimeout.json                                                                                                                                           
│   │   ├── systemGrantorSecret.json                                                                                                                                         
│   │   ├── unknownBootEnv.json                                                                                                                                              
│   │   └── unknownTokenTimeout.json                                                                                                                                         
│   ├── profiles                                                                                                                                                             
│   │   └── global.json                                                                                                                                                      
│   ├── reservations                                                                                                                                                         
│   ├── stages                                                                                                                                                               
│   ├── subnets                                                                                                                                                              
│   ├── tasks                                                                                                                                                                
│   ├── templates                                                                                                                                                            
│   └── users                                                                                                                                                                
│       └── rocketskates.json                                                                                                                                                
├── job-logs                                                                                                                                                                 
├── plugins                                                                                                                                                                  
├── replace                                                                                                                                                                  
├── saas-content                                                                                                                                                             
└── tftpboot                                                                                                                                                                 
    ├── ALL-LICENSE                                                                                                                                                          
    ├── bootia32.efi                                                                                                                                                         
    ├── bootia64.efi                                                                                                                                                         
    ├── bootx64.efi                                                                                                                                                          
    ├── esxi.0                                                                                                                                                               
    ├── explode_iso.sh                                                                                                                                                       
    ├── files                                                                                                                                                                
    │   ├── drpcli.amd64.linux                                                                                                                                               
    │   └── jq                                                                                                                                                               
    ├── ipxe.efi                                                                                                                                                             
    ├── ipxe.pxe                                                                                                                                                             
    ├── isos                                                                                                                                                                 
    ├── ldlinux.c32                                                                                                                                                          
    ├── libcom32.c32                                                                                                                                                         
    ├── libutil.c32                                                                                                                                                          
    ├── lpxelinux.0                                                                                                                                                          
    ├── machines                                                                                                                                                             
    ├── pxechn.c32                                                                                                                                                           
    ├── pxelinux.cfg                                                                                                                                                         
    └── wimboot     



stas@stas-custis-desktop ~/apps/rebar $ ./drpcli bootenvs uploadiso ubuntu-16.04-install
Error: GET: bootenvs/ubuntu-16.04-install: Not Found
stas@stas-custis-desktop ~/apps/rebar $ ./drpcli bootenvs uploadiso sledgehammer
Error: GET: bootenvs/sledgehammer: Not Found


/home/stas/apps/rebar>tree                                                                                                                                                   
.                                                                                                                                                                            
├── assets                                                                                                                                                                   
│   └── startup                                                                                                                                                              
│       ├── dr-provision.service                                                                                                                                             
│       ├── dr-provision.sysv                                                                                                                                                
│       └── dr-provision.unit                                                                                                                                                
├── bin                                                                                                                                                                      
│   ├── darwin                                                                                                                                                               
│   │   └── amd64                                                                                                                                                            
│   │       ├── drpcli                                                                                                                                                       
│   │       ├── dr-provision                                                                                                                                                 
│   │       └── incrementer                                                                                                                                                  
│   ├── linux                                                                                                                                                                
│   │   ├── amd64                                                                                                                                                            
│   │   │   ├── drpcli                                                                                                                                                       
│   │   │   ├── dr-provision                                                                                                                                                 
│   │   │   └── incrementer                                                                                                                                                  
│   │   ├── arm64                                                                                                                                                            
│   │   │   ├── drpcli                                                                                                                                                       
│   │   │   ├── dr-provision                                                                                                                                                 
│   │   │   └── incrementer                                                                                                                                                  
│   │   └── arm_v7                                                                                                                                                           
│   │       ├── drpcli                                                                                                                                                       
│   │       ├── dr-provision                                                                                                                                                 
│   │       └── incrementer                                                                                                                                                  
│   └── windows                                                                                                                                                              
│       └── amd64                                                                                                                                                            
│           ├── drpcli                                                                                                                                                       
│           ├── dr-provision                                                                                                                                                 
│           └── incrementer                                                                                                                                                  
├── drpcli -> bin/linux/amd64/drpcli                                                                                                                                         
├── drp-community-content.sha256                                                                                                                                             
├── drp-data                                                                                                                                                                 
│   └── saas-content                                                                                                                                                         
│       └── default.yaml                                                                                                                                                     
├── dr-provision -> bin/linux/amd64/dr-provision                                                                                                                             
├── dr-provision.sha256                                                                                                                                                      
├── dr-provision.zip                                                                                                                                                         
├── server.crt                                                                                                                                                               
├── server.key                                                                                                                                                               
├── sha256sums                                                                                                                                                               
└── tools                                                                                                                                                                    
    └── install.sh                                                                                                                                                           


Install and run

stas@stas-custis-desktop ~/bred $ curl -fsSL get.rebar.digital/stable | bash -s -- install --isolated
'dr-provision' service is not running, beginning install process ... 
Ensuring required tools are installed
Installing bsdtar
Installing Version stable of Digital Rebar Provision
dr-provision.zip: ЦЕЛ
bash: строка 246: bsdtar: команда не найдена
stas@stas-custis-desktop ~/bred $ urpmf bsdtar
bsdtar:/usr/bin/bsdtar
bsdtar:/usr/share/doc/bsdtar
bsdtar:/usr/share/doc/bsdtar/NEWS
bsdtar:/usr/share/doc/bsdtar/README
bsdtar:/usr/share/man/man1/bsdtar.1.xz
bsdtar:/usr/bin/bsdtar
bsdtar:/usr/share/doc/bsdtar
bsdtar:/usr/share/doc/bsdtar/NEWS
bsdtar:/usr/share/doc/bsdtar/README
bsdtar:/usr/share/man/man1/bsdtar.1.xz
amanda-client-3.4.1:/usr/lib64/amanda/application/ambsdtar
amanda-client-3.4.1:/usr/share/man/man8/ambsdtar.8.xz
patool-1.12:/usr/lib/python2.7/site-packages/patoolib/programs/bsdtar.py
stas@stas-custis-desktop ~/bred $ urpmi bsdtar
    http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/main/release/bsdtar-3.2.1-4-rosa2016.1.x86_64.rpm
                                                                                                                                                                                                                                             

устанавливается bsdtar-3.2.1-4-rosa2016.1.x86_64.rpm из /var/cache/urpmi/rpms
Подготовка...                    ###########################################################################################################################################################################################################
      1/1: bsdtar                ###########################################################################################################################################################################################################
stas@stas-custis-desktop ~/bred $ curl -fsSL get.rebar.digital/stable | bash -s -- install --isolated
'dr-provision' service is not running, beginning install process ... 
Ensuring required tools are installed
Installing Version stable of Digital Rebar Provision
dr-provision.zip: ЦЕЛ
./bin/linux/amd64/drpcli: ЦЕЛ
./bin/linux/amd64/dr-provision: ЦЕЛ
./bin/linux/amd64/incrementer: ЦЕЛ
./bin/linux/arm64/drpcli: ЦЕЛ
./bin/linux/arm64/dr-provision: ЦЕЛ
./bin/linux/arm64/incrementer: ЦЕЛ
./bin/linux/arm_v7/drpcli: ЦЕЛ
./bin/linux/arm_v7/dr-provision: ЦЕЛ
./bin/linux/arm_v7/incrementer: ЦЕЛ
./bin/darwin/amd64/drpcli: ЦЕЛ
./bin/darwin/amd64/dr-provision: ЦЕЛ
./bin/darwin/amd64/incrementer: ЦЕЛ
./bin/windows/amd64/drpcli: ЦЕЛ
./bin/windows/amd64/dr-provision: ЦЕЛ
./bin/windows/amd64/incrementer: ЦЕЛ
./assets/startup/dr-provision.service: ЦЕЛ
./assets/startup/dr-provision.sysv: ЦЕЛ
./assets/startup/dr-provision.unit: ЦЕЛ
./tools/install.sh: ЦЕЛ
Installing Version stable of Digital Rebar Provision Community Content
drp-community-content.yaml: ЦЕЛ
# Run the following commands to start up dr-provision in a local isolated way.
# The server will store information and serve files from the drp-data directory.

sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/home/stas/bred/drp-data --local-content="" --default-content="" &

# Once dr-provision is started, these commands will install the isos for the community defaults
  ./drpcli bootenvs uploadiso ubuntu-16.04-install
  ./drpcli bootenvs uploadiso centos-7-install
  ./drpcli bootenvs uploadiso sledgehammer

stas@stas-custis-desktop ~/bred $ cd 
stas@stas-custis-desktop ~ $ 
stas@stas-custis-desktop ~ $ cd apps/
stas@stas-custis-desktop ~/apps $ mkdir rebar
stas@stas-custis-desktop ~/apps $ cd rebar
stas@stas-custis-desktop ~/apps/rebar $ curl -fsSL get.rebar.digital/stable | bash -s -- install --isolated
'dr-provision' service is not running, beginning install process ... 
Ensuring required tools are installed
Installing Version stable of Digital Rebar Provision
dr-provision.zip: ЦЕЛ
./bin/linux/amd64/drpcli: ЦЕЛ
./bin/linux/amd64/dr-provision: ЦЕЛ
./bin/linux/amd64/incrementer: ЦЕЛ
./bin/linux/arm64/drpcli: ЦЕЛ
./bin/linux/arm64/dr-provision: ЦЕЛ
./bin/linux/arm64/incrementer: ЦЕЛ
./bin/linux/arm_v7/drpcli: ЦЕЛ
./bin/linux/arm_v7/dr-provision: ЦЕЛ
./bin/linux/arm_v7/incrementer: ЦЕЛ
./bin/darwin/amd64/drpcli: ЦЕЛ
./bin/darwin/amd64/dr-provision: ЦЕЛ
./bin/darwin/amd64/incrementer: ЦЕЛ
./bin/windows/amd64/drpcli: ЦЕЛ
./bin/windows/amd64/dr-provision: ЦЕЛ
./bin/windows/amd64/incrementer: ЦЕЛ
./assets/startup/dr-provision.service: ЦЕЛ
./assets/startup/dr-provision.sysv: ЦЕЛ
./assets/startup/dr-provision.unit: ЦЕЛ
./tools/install.sh: ЦЕЛ
Installing Version stable of Digital Rebar Provision Community Content
drp-community-content.yaml: ЦЕЛ
# Run the following commands to start up dr-provision in a local isolated way.
# The server will store information and serve files from the drp-data directory.

sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/home/stas/apps/rebar/drp-data --local-content="" --default-content="" &

# Once dr-provision is started, these commands will install the isos for the community defaults
  ./drpcli bootenvs uploadiso ubuntu-16.04-install
  ./drpcli bootenvs uploadiso centos-7-install
  ./drpcli bootenvs uploadiso sledgehammer

stas@stas-custis-desktop ~/apps/rebar $ sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/data/rebar 
[sudo] пароль для stas: 
dr-provision2017/12/26 18:06:15.764832 Version: v3.5.0-0-8dd3ac9c62a2555d315e07f5a190f2230e3a7ca7
dr-provision2017/12/26 18:06:15.764864 Extracting Default Assets
dr-provision2017/12/26 18:06:16.491510 Starting TFTP server
dr-provision2017/12/26 18:06:16.491580 Starting static file server
dr-provision2017/12/26 18:06:16.491597 Starting DHCP server
dr-provision2017/12/26 18:06:16.491738 Starting PXE/BINL server
dr-provision2017/12/26 18:06:16.491840 Starting API server
[GIN] 2017/12/26 - 21:06:27 | 200 |   42.611933ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:06:27 | 404 |      78.144µs |       127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer
[GIN] 2017/12/26 - 21:06:43 | 200 |   43.989789ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:06:43 | 404 |      80.619µs |       127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer
[GIN] 2017/12/26 - 21:08:12 | 200 |     41.2081ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:08:12 | 404 |     102.576µs |       127.0.0.1 | GET      /api/v3/bootenvs/ubuntu-16.04-install
[GIN] 2017/12/26 - 21:12:46 | 200 |   42.113301ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:12:46 | 404 |      96.482µs |       127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer
[GIN] 2017/12/26 - 21:24:15 | 200 |    43.69277ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:24:15 | 200 |     170.411µs |       127.0.0.1 | GET      /api/v3/bootenvs
http2: server: error reading preface from client 172.31.1.3:38116: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38118: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38122: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38124: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38126: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38128: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38130: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38132: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38134: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38136: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38142: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38144: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38146: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38148: remote error: tls: unknown certificate authority
http2: server: error reading preface from client 172.31.1.3:38150: remote error: tls: unknown certificate authority
http: TLS handshake error from 172.31.1.3:38188: tls: first record does not look like a TLS handshake