s/onlinelabs/scaleway/g

This commit is contained in:
Manfred Touron 2015-04-07 08:17:01 +00:00
parent 49609bce15
commit a12c6136c4
11 changed files with 28 additions and 28 deletions

View File

@ -1,10 +1,10 @@
## -*- docker-image-name: "armbuild/ocs-distrib-archlinux:latest" -*- ## -*- docker-image-name: "armbuild/scw-distrib-archlinux:latest" -*-
FROM armbuild/archlinux-disk:2014-12-02 FROM armbuild/archlinux-disk:2014-12-02
MAINTAINER Online Labs <opensource@ocs.online.net> (@online_en) MAINTAINER Scaleway <opensource@scaleway.com> (@scaleway)
# Environment # Environment
ENV OCS_BASE_IMAGE armbuild/ocs-archlinux:2014-12-02 ENV SCW_BASE_IMAGE armbuild/scw-archlinux:2014-12-02
# Install packages # Install packages
@ -87,12 +87,12 @@ RUN pacman --noconfirm -Suy
# Patch rootfs # Patch rootfs
RUN wget -qO - http://j.mp/ocs-scripts | bash RUN wget -qO - http://j.mp/scw-skeleton | FLAVORS=common,docker-based bash -e
ADD ./patches/etc/ /etc/ ADD ./patches/etc/ /etc/
ADD ./patches/usr/ /usr/ ADD ./patches/usr/ /usr/
# Enable Online-Labs services # Enable Scaleway services
RUN systemctl enable oc-ssh-keys \ RUN systemctl enable oc-ssh-keys \
&& systemctl enable oc-add-extra-volumes \ && systemctl enable oc-add-extra-volumes \
&& systemctl enable oc-sync-kernel-modules && systemctl enable oc-sync-kernel-modules

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2014-2015 Online Labs Copyright (c) 2014-2015 Scaleway
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -1,15 +1,15 @@
DOCKER_NAMESPACE = armbuild/ DOCKER_NAMESPACE = armbuild/
NAME = ocs-distrib-archlinux NAME = scw-distrib-archlinux
VERSION = latest VERSION = latest
VERSION_ALIASES = 2014-12-02 VERSION_ALIASES = 2014-12-02
TITLE = Archlinux TITLE = Archlinux
DESCRIPTION = Archlinux latest DESCRIPTION = Archlinux latest
SOURCE_URL = https://github.com/online-labs/image-archlinux SOURCE_URL = https://github.com/scaleway/image-archlinux
## Image tools (https://github.com/online-labs/image-tools) ## Image tools (https://github.com/scaleway/image-tools)
all: docker-rules.mk all: docker-rules.mk
docker-rules.mk: docker-rules.mk:
wget -qO - http://j.mp/image-tools | bash wget -qO - http://j.mp/scw-image-tools | bash
-include docker-rules.mk -include docker-rules.mk
## Below you can add custom makefile commands and overrides ## Below you can add custom makefile commands and overrides

View File

@ -1,11 +1,11 @@
Official Archlinux image on Online Labs [![Build Status](https://travis-ci.org/online-labs/image-archlinux.svg?branch=master)](https://travis-ci.org/online-labs/image-archlinux) Archlinux image on Scaleway [![Build Status](https://travis-ci.org/scaleway/image-archlinux.svg?branch=master)](https://travis-ci.org/scaleway/image-archlinux)
======================================= ===========================
**Warning: this image is not yet working** **Warning: this image is not yet working**
Scripts to build the official Archlinux image on Online Labs Scripts to build the official Archlinux image on Scaleway
This image is built using [Image Tools](https://github.com/online-labs/image-tools) and is based on the official [Ubuntu](https://github.com/online-labs/image-ubuntu) image. This image is built using [Image Tools](https://github.com/scaleway/image-tools) and is based on the official [Ubuntu](https://github.com/scaleway/image-ubuntu) image.
<img src="http://upload.wikimedia.org/wikipedia/commons/5/59/Archlogo.png" width="300px" /> <img src="http://upload.wikimedia.org/wikipedia/commons/5/59/Archlogo.png" width="300px" />
@ -15,18 +15,18 @@ This image is built using [Image Tools](https://github.com/online-labs/image-too
We use the Docker's building system and convert it at the end to a disk image that will boot on real servers without Docker. Note that the image is still runnable as a Docker container for debug or for inheritance. We use the Docker's building system and convert it at the end to a disk image that will boot on real servers without Docker. Note that the image is still runnable as a Docker container for debug or for inheritance.
[More info](https://github.com/online-labs/image-tools#docker-based-builder) [More info](https://github.com/scaleway/image-tools#docker-based-builder)
--- ---
Install Install
------- -------
Build and write the image to /dev/nbd1 (see [documentation](https://doc.cloud.online.net/howto/create_image.html)) Build and write the image to /dev/nbd1 (see [documentation](https://www.scaleway.com/docs/create_an_image_with_docker))
$ make install $ make install
Full list of commands available at: [online-labs/image-tools](https://github.com/online-labs/image-tools/tree/master#commands) Full list of commands available at: [scaleway/image-tools](https://github.com/scaleway/image-tools/#commands)
--- ---
@ -38,4 +38,4 @@ links
--- ---
A project by [![Online Labs](https://raw.githubusercontent.com/online-labs/doc.cloud.online.net/master/www/documentation/docs_public/contents/images/logo_footer.png)](http://labs.online.net/) A project by [![Scaleway](https://avatars1.githubusercontent.com/u/5185491?v=3&s=42)](https://www.scaleway.com/)

View File

@ -3,7 +3,7 @@
# - http://support.ntp.org/bin/view/Support/GettingStarted # - http://support.ntp.org/bin/view/Support/GettingStarted
# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon # - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
server ntp.int.cloud.online.net server ntp.int.scaleway.com
# Associate to public NTP pool servers; see http://www.pool.ntp.org/ # Associate to public NTP pool servers; see http://www.pool.ntp.org/
server 0.arch.pool.ntp.org server 0.arch.pool.ntp.org

View File

@ -4,4 +4,4 @@ Name=eth0
[Network] [Network]
DNS=10.1.31.38 DNS=10.1.31.38
DNS=10.1.31.39 DNS=10.1.31.39
Domains=cloud.online.net Domains=scaleway.com

View File

@ -1,4 +1,4 @@
# online cloud's DNS # Scaleway's DNS
[Resolve] [Resolve]
DNS=10.1.31.38 DNS=10.1.31.38

View File

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=OCS additional volumes mounter Description=SCW additional volumes mounter
[Service] [Service]
ExecStart=/usr/local/sbin/oc-add-extra-volumes ExecStart=/usr/local/sbin/oc-add-extra-volumes

View File

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=OCS fetch ssh keys from metadata Description=SCW fetch ssh keys from metadata
After=NetworkManager-wait-online.service After=NetworkManager-wait-online.service
[Service] [Service]

View File

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=OCS fetch kernel modules from OCS mirror Description=SCW fetch kernel modules from Scaleway mirror
After=NetworkManager-wait-online.service After=NetworkManager-wait-online.service
[Service] [Service]

View File

@ -1,6 +1,6 @@
# Fetch OCS metadata # Fetch Scaleway metadata
fetch_ocs_metadata() fetch_scw_metadata()
{ {
metadata_host_name=$(/usr/local/bin/oc-metadata --cached HOSTNAME) metadata_host_name=$(/usr/local/bin/oc-metadata --cached HOSTNAME)
if [ "x$metadata_host_name" != "x" ]; then if [ "x$metadata_host_name" != "x" ]; then
@ -14,5 +14,5 @@ fetch_ocs_metadata()
} }
if $if_up; then if $if_up; then
fetch_ocs_metadata fetch_scw_metadata
fi fi