LoginSignup
0
2

More than 3 years have passed since last update.

Red Hat 関連

Last updated at Posted at 2020-04-11

Red Hat Customer Portal サブスクリプションをシステム側へ登録する方法

参考
https://access.redhat.com/ja/articles/3221791

※register時のユーザー名はログイン用のメールアドレスではない

登録
# 使用中のシステムをRed Hat Customer Portal へ登録
subscription-manager register --username=yourusername --password=yourpassword

# 使用中のシステムをRed Hat Customer Portal へ登録
subscription-manager register --username=yourusername --password=yourpassword --auto-attach
利用可能なサブスクリプション一覧
subscription-manager list --available
サブスクリプションのattach
# Pool 指定
subscription-manager attach --pool=<Pool ID>

# 自動
subscription-manager attach --auto
attachして利用中のサブスクリプション一覧
subscription-manager list --consumed

Red Hat の特定のバージョンの AWS AMI を検索する方法。

RedHat社の所有者IDが309956199498。
aws ec2 describe-images --owners 309956199498 --query 'Images[*].[OwnerId, ImageId, Name]' --filters "Name=name,Values=RHEL-7.1*" --output  table
-----------------------------------------------------------------------------------
|                                 DescribeImages                                  |
+--------------+---------------+--------------------------------------------------+
|  309956199498|  ami-4eee514e |  RHEL-7.1_HVM-20150803-x86_64-1-Hourly2-GP2      |
|  309956199498|  ami-b1b458b1 |  RHEL-7.1_HVM_GA-20150225-x86_64-1-Hourly2-GP2   |
+--------------+---------------+--------------------------------------------------+

参考
https://access.redhat.com/ja/solutions/274443

0
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
0
2