LoginSignup
3
2

More than 3 years have passed since last update.

Ubuntu minimal-cloudimg ダウンロード

Last updated at Posted at 2019-11-21

minimal-cloudimg

  • 20.04 : 199MB QEMU QCOW Image (v2)
  • 21.04 : 248MB

Proxmox6 で使うには

# ダウンロード
wget "https://cloud-images.ubuntu.com/minimal/daily/focal/current/focal-minimal-cloudimg-amd64.img"

# ファイル名を変更しつつqcow2形式に変換。
qemu-img convert -O qcow2 \
 "focal-minimal-cloudimg-amd64.img" \
 "focal-minimal-cloudimg-amd64.qcow2"

# 変換前のファイルは削除
rm "focal-minimal-cloudimg-amd64.img"

# イメージサイズの拡張
qemu-img resize "focal-minimal-cloudimg-amd64.qcow2" 3G
# DISK容量の確認
qemu-img info focal-minimal-cloudimg-amd64.qcow2 

シリアルポートの追加が必要

以下で表示が止まる。

スクリーンショット_2019-11-22_14-03-24.png

画面はserial 0に出力されているため、シリアルポートを追加してあげればよい。参考

Cloud-initが必要。

  • アカウント名 / パスワード
  • IPアドレス
  • ssh鍵の登録

スクリーンショット_2019-12-13_14-33-31.png

項目 free -m df -h
minimal-cloudimg 55 706M

一度も自動ではアップデートさせたくない場合

  • 以下のようにコメントアウトする
/etc/cloud/cloud.cfg
cloud_final_modules:
#- package-update-upgrade-install

# 使ってみて必要に感じた以下のファイル

## 設定ファイル

~/.profile
/etc/postfix/main.cf
/etc/aliases
/etc/systemd/timesyncd.conf

## インストールパッケージ

vim
tig
zip
nkf
w3m
lighttpd
php-cli
rsync
postfix
mutt
whiptail
cron

file
ranger
screen
bsd-mailx
logwatch

iputils-ping
net-tools

Ubuntu 20.04

インストールに必要な最小DISK容量

  • 8GiB のディスクサイズが必要。 (lubuntu)
  • 8.6GB のディスクサイズが必要。 (Xubuntu)
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2