• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. Private Image Creation Guide (BMS)
  4. Creating a Linux Image
  5. Installing Cloud-Init
  6. Debian 8.6

Debian 8.6

  1. Configure the apt source.

    Run the vi /etc/apt/sources.list command and add the following content to the file:

    deb http://mirrors.ustc.edu.cn/debian jessie main contrib non-free
    deb-src http://mirrors.ustc.edu.cn/debian jessie main contrib non-free
    deb http://mirrors.ustc.edu.cn/debian jessie-proposed-updates main contrib non-free
    deb-src http://mirrors.ustc.edu.cn/debian jessie-proposed-updates main contrib non-free
    deb http://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free
    deb-src http://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free

    Enter :wq! to save the change and run the apt update command.

  2. Run the apt-get install cloud-init command to install Cloud-Init.

    Run the cloud-init -v command to check whether the installation is successful.

    root@debian:/usr/src# cloud-init -v
    cloud-init 0.7.6
  3. Run the following commands to install the vlan and ifenslave services:

    apt-get install vlan

    apt-get install ifenslave